alerts: Fix alert popup not closing in portico.

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.
This commit is contained in:
Sayam Samal
2025-03-07 19:11:34 +05:30
committed by Tim Abbott
parent 2c84f60bbc
commit 6043063d21
2 changed files with 4 additions and 4 deletions

View File

@@ -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,

View File

@@ -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;
}