From 6043063d21ce38baa7f683ea9010996fc332dfcf Mon Sep 17 00:00:00 2001 From: Sayam Samal Date: Fri, 7 Mar 2025 19:11:34 +0530 Subject: [PATCH] alerts: Fix alert popup not closing in portico. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The alerts in portico were not being closed since the class responsible for hiding them — `home-error-bar` was defined in `web/styles/zulip.css` which isn't being shared with portico. This commit moves this class to `web/styles/alerts.css` which is shared with portico, and fixes the bug. --- web/styles/alerts.css | 4 ++++ web/styles/zulip.css | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/styles/alerts.css b/web/styles/alerts.css index 7ab6aa299d..df8eaa93b0 100644 --- a/web/styles/alerts.css +++ b/web/styles/alerts.css @@ -32,6 +32,10 @@ } } +.home-error-bar { + display: none; +} + /* alert box component changes */ .alert-box { /* We define this variable in web/styles/app_variables.css, diff --git a/web/styles/zulip.css b/web/styles/zulip.css index f45caf44da..710ac9ce65 100644 --- a/web/styles/zulip.css +++ b/web/styles/zulip.css @@ -1015,10 +1015,6 @@ div.focused-message-list.is-conversation-view .recipient_row { margin-right: var(--right-sidebar-avatar-right-margin); } -.home-error-bar { - display: none; -} - .streamname { font-weight: bold; }