mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	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:
		@@ -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,
 | 
			
		||||
 
 | 
			
		||||
@@ -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;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user