Bugfix: squash `\A` prepending tags for some users

This commit is contained in:
Starbeamrainbowlabs 2020-07-08 21:57:25 +01:00
parent 1f36ca34ae
commit 3d83fe608e
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
3 changed files with 4 additions and 1 deletions

View File

@ -39,6 +39,7 @@ This file holds the changelog for Pepperminty Wiki. This is the master list of t
- Navigating to a redirect page from a page list will no longer cause you to automatically follow the redirect
- Limited sidebar size to 20% of the screen width at most
- Fix the [large blank space problem](https://github.com/sbrl/Pepperminty-Wiki/blob/master/Changelog.md#fixed-3) in all themes
- Squashed the text `\A` appearing before tags at the bottom of pages for some users ([ref](https://gitter.im/Pepperminty-Wiki/Lobby?at=5f0632068342f4627401f145))
## v0.21

View File

@ -391,7 +391,9 @@ input.edit-page-button[type='submit']{
}
.page-tags-display li::before{
content:"\A";
color: transparent;
position:relative;
user-select: none;
top:0.03rem;
left:-0.9rem;
width:0;

View File

@ -244,7 +244,7 @@ input[type=submit].large { width: 100%; box-sizing: border-box; padding: 0.5em;
.page-tags-display { margin: 0.5rem 0 0 0; padding: 0; list-style-type: none; }
.page-tags-display li { display: inline-block; margin: 0.5rem; padding: 0.5rem; background: var(--tag); white-space: nowrap; }
.page-tags-display li a { color: var(--accent-b2); text-decoration: none; }
.page-tags-display li::before { content: "\\A"; position: relative; top: 0.03rem; left: -0.9rem; width: 0; height: 0; border-top: 0.6rem solid transparent; border-bottom: 0.6rem solid transparent; border-right: 0.5rem solid var(--tag); }
.page-tags-display li::before { content: "\\A"; color: transparent; user-select: none; position: relative; top: 0.03rem; left: -0.9rem; width: 0; height: 0; border-top: 0.6rem solid transparent; border-bottom: 0.6rem solid transparent; border-right: 0.5rem solid var(--tag); }
.page-list { list-style-type: none; margin: 0.3rem; padding: 0.3rem; }
.page-list li:not(.header) { margin: 0.3rem; padding: 0.3rem; }