[Glitch] Use container queries to hide profile share button

Port c94bedf4e6 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
pull/2625/head
Claire 2023-11-16 12:59:45 +01:00
parent ce3978246b
commit 50d9cd66d3
1 changed files with 2 additions and 1 deletions

View File

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