From b2d841ce9ae415550d44abecb182ac068ee121e3 Mon Sep 17 00:00:00 2001 From: Claire Date: Wed, 27 Mar 2024 00:14:11 +0100 Subject: [PATCH] Fix column borders disappearing in advanced interface on low width viewports (#29763) --- .../styles/mastodon/components.scss | 47 +++++++++---------- 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 3704751eff..2d7aa32d83 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -2890,24 +2890,31 @@ $ui-header-height: 55px; } } - .layout-single-column .ui__header { - display: flex; - background: var(--background-color-tint); - border-bottom: 1px solid var(--background-border-color); - } + .layout-single-column { + .ui__header { + display: flex; + background: var(--background-color-tint); + border-bottom: 1px solid var(--background-border-color); + } - .column > .scrollable, - .tabs-bar__wrapper .column-header, - .tabs-bar__wrapper .column-back-button { - border-left: 0; - border-right: 0; - } + .column > .scrollable, + .tabs-bar__wrapper .column-header, + .tabs-bar__wrapper .column-back-button { + border-left: 0; + border-right: 0; + } - .column-header, - .column-back-button, - .scrollable, - .error-column { - border-radius: 0 !important; + .column-header, + .column-back-button, + .scrollable, + .error-column { + border-radius: 0 !important; + } + + .column-header, + .column-back-button { + border-top: 0; + } } } @@ -3466,10 +3473,6 @@ $ui-header-height: 55px; &:hover { text-decoration: underline; } - - @media screen and (max-width: $no-gap-breakpoint) { - border-top: 0; - } } .column-header__back-button { @@ -4233,10 +4236,6 @@ a.status-card { padding-top: 16px; } } - - @media screen and (max-width: $no-gap-breakpoint) { - border-top: 0; - } } .column-header__buttons {