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

pull/2527/head
Claire 2023-11-16 12:59:45 +01:00 committed by GitHub
parent 87696ea26e
commit c94bedf4e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

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