mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 07:49:29 +00:00
[Glitch] Use container queries to hide profile share button
Port c94bedf4e6 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
@@ -7976,6 +7976,7 @@ noscript {
|
||||
|
||||
.account__header {
|
||||
overflow: hidden;
|
||||
container: account-header / inline-size;
|
||||
|
||||
&.inactive {
|
||||
opacity: 0.5;
|
||||
@@ -8078,7 +8079,7 @@ noscript {
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (width <= 427px) {
|
||||
@container account-header (max-width: 372px) {
|
||||
.optional {
|
||||
display: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user