diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index c4f174f1b..6dca91a19 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -1980,6 +1980,13 @@ body > [data-popper-placement] { } } + &__avatar-wrapper .account__avatar { + @container (width < 360px) { + width: 35px !important; + height: 35px !important; + } + } + &__domain-pill { display: inline-flex; background: rgba($highlight-text-color, 0.2); @@ -2151,11 +2158,6 @@ body > [data-popper-placement] { border-radius: var(--avatar-border-radius); background: var(--surface-background-color); - @container (width < 360px) { - width: 35px !important; - height: 35px !important; - } - img { width: 100%; height: 100%;