fix: hide invisible content consistently

Some other parts of the interface for example URLs in profiles
use the invisible class, move this to the top level global file
so it'll be applied everywhere.
This commit is contained in:
Nick Colley 2022-11-25 16:32:56 +00:00 committed by Nolan Lawson
parent fda00fc87c
commit 2bbb9734e3
2 changed files with 10 additions and 10 deletions

View File

@ -67,16 +67,6 @@
color: var(--very-deemphasized-link-color);
}
:global(.status-content .invisible) {
/* copied from Mastodon */
font-size: 0;
line-height: 0;
display: inline-block;
width: 0;
height: 0;
position: absolute;
}
:global(.underline-links .status-content a) {
text-decoration: underline;
}

View File

@ -207,3 +207,13 @@ textarea {
.inline-emoji {
font-family: CountryFlagEmojiPolyfill, PinaforeEmoji, sans-serif;
}
.invisible {
/* copied from Mastodon */
font-size: 0;
line-height: 0;
display: inline-block;
width: 0;
height: 0;
position: absolute;
}