mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-20 00:08:37 +00:00
Use container queries to hide profile share button (#27889)
This commit is contained in:
parent
87696ea26e
commit
c94bedf4e6
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue