Use container queries to hide profile share button (#27889)

th-downstream
Claire 12 months ago committed by GitHub
parent 87696ea26e
commit c94bedf4e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7289,6 +7289,7 @@ noscript {
.account__header { .account__header {
overflow: hidden; overflow: hidden;
container: account-header / inline-size;
&.inactive { &.inactive {
opacity: 0.5; opacity: 0.5;
@ -7390,7 +7391,7 @@ noscript {
} }
} }
@media screen and (width <= 427px) { @container account-header (max-width: 372px) {
.optional { .optional {
display: none; display: none;
} }

Loading…
Cancel
Save