From eacfb9fc5523fc1880c3457286e09fc2d3d5d169 Mon Sep 17 00:00:00 2001 From: Valtteri Laitinen Date: Thu, 8 Aug 2024 12:22:48 +0300 Subject: [PATCH] [Glitch] Really fix duplicate border around search results Port a95fe931d71ea0fa1d81a94c779553048b4e69f5 to glitch-soc Signed-off-by: Claire --- .../flavours/glitch/styles/components.scss | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/app/javascript/flavours/glitch/styles/components.scss b/app/javascript/flavours/glitch/styles/components.scss index 306e25443f..cd1b04d284 100644 --- a/app/javascript/flavours/glitch/styles/components.scss +++ b/app/javascript/flavours/glitch/styles/components.scss @@ -3268,11 +3268,6 @@ $ui-header-logo-wordmark-width: 99px; .explore__search-header { display: flex; } - - .explore__search-results { - border: 0; - border-radius: 0; - } } .icon-with-badge { @@ -9346,10 +9341,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 {