From fa8945fee2d79d8e62462a11b300cbe08593d41d Mon Sep 17 00:00:00 2001 From: Kris Date: Thu, 13 Feb 2025 18:04:47 -0500 Subject: [PATCH] UX: remove old menu border hack (#31344) We used to hide the bottom border of the header buttons when menu panels were open (so they'd appear connected), but this is no longer necessary... so all this vestigial CSS does is sometimes create a stray line like this: ![image](https://github.com/user-attachments/assets/12357bf3-2bc7-4604-8b76-7e54460a4175) --- app/assets/stylesheets/common/base/header.scss | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/app/assets/stylesheets/common/base/header.scss b/app/assets/stylesheets/common/base/header.scss index b76beb79abd..2309af7bf95 100644 --- a/app/assets/stylesheets/common/base/header.scss +++ b/app/assets/stylesheets/common/base/header.scss @@ -197,22 +197,6 @@ > .d-icon { color: var(--primary-medium); } - - &::after { - display: block; - position: absolute; - top: 100%; - left: 0; - z-index: z("header") + 1; // Higher than .menu-panel - width: 100%; - height: 0; - content: ""; - border-top: 1px solid var(--secondary); - } - - &:hover { - border-bottom: none; - } } }