diff --git a/tildes/scss/_layout.scss b/tildes/scss/_layout.scss index 6c30906..1841b17 100644 --- a/tildes/scss/_layout.scss +++ b/tildes/scss/_layout.scss @@ -47,7 +47,7 @@ body { } #site-header .logged-in-user-info { - display: block; + display: flex; } } diff --git a/tildes/scss/modules/_logged-in-user.scss b/tildes/scss/modules/_logged-in-user.scss index bdbe52a..0a4ed28 100644 --- a/tildes/scss/modules/_logged-in-user.scss +++ b/tildes/scss/modules/_logged-in-user.scss @@ -18,8 +18,4 @@ .logged-in-user-alert { font-weight: bold; font-size: 0.5rem; - - @media (min-width: $size-md) { - margin-right: 1rem; - } } diff --git a/tildes/scss/modules/_site-header.scss b/tildes/scss/modules/_site-header.scss index b6d3d2d..2d1ca69 100644 --- a/tildes/scss/modules/_site-header.scss +++ b/tildes/scss/modules/_site-header.scss @@ -2,6 +2,10 @@ // SPDX-License-Identifier: AGPL-3.0-or-later #site-header { + .logged-in-user-alert { + margin-right: 1rem; + } + .logged-in-user-info { // hidden on small screens display: none;