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.
fix-invisible-class
Nick Colley 2022-11-25 16:32:56 +00:00 zatwierdzone przez Nolan Lawson
rodzic fda00fc87c
commit 2bbb9734e3
2 zmienionych plików z 10 dodań i 10 usunięć

Wyświetl plik

@ -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;
}

Wyświetl plik

@ -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;
}