fix: hide invisible content consistently (#2254)

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 20:03:26 +00:00 committed by GitHub
parent fda00fc87c
commit b543399e0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 10 deletions

View file

@ -67,16 +67,6 @@
color: var(--very-deemphasized-link-color); 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) { :global(.underline-links .status-content a) {
text-decoration: underline; text-decoration: underline;
} }

View file

@ -207,3 +207,13 @@ textarea {
.inline-emoji { .inline-emoji {
font-family: CountryFlagEmojiPolyfill, PinaforeEmoji, sans-serif; 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;
}