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:
parent
fda00fc87c
commit
b543399e0a
2 changed files with 10 additions and 10 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue