From a95fe931d71ea0fa1d81a94c779553048b4e69f5 Mon Sep 17 00:00:00 2001 From: Valtteri Laitinen Date: Thu, 8 Aug 2024 12:22:48 +0300 Subject: [PATCH] Really fix duplicate border around search results (#31305) --- app/javascript/styles/mastodon/components.scss | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 3b8adb96a6a..2b1ae6e14f3 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -3086,11 +3086,6 @@ $ui-header-logo-wordmark-width: 99px; .explore__search-header { display: flex; } - - .explore__search-results { - border: 0; - border-radius: 0; - } } .icon-with-badge { @@ -8789,10 +8784,13 @@ noscript { flex: 1 1 auto; display: flex; flex-direction: column; - border: 1px solid var(--background-border-color); - border-top: 0; - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; + + @media screen and (min-width: $no-gap-breakpoint) { + border: 1px solid var(--background-border-color); + border-top: 0; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + } } .story {