Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

banners: Explicitly reference container name in queries.

Karl Stolley6728620f7fb2
diff --git a/web/styles/banners.css b/web/styles/banners.css
index 9437c5d67e0..f55b2860a07 100644
--- a/web/styles/banners.css
+++ b/web/styles/banners.css
@@ -71,7 +71,7 @@
justify-content: center;
}
-@container (width >= 44em) and (width < 63em) {
+@container banner (width >= 44em) and (width < 63em) {
.navbar-alert-banner[data-process="desktop-notifications"] {
grid-template: var(--banner-grid-template-rows-md) / var(
--banner-grid-template-columns-md
@@ -81,7 +81,7 @@
}
}
-@container (width < 44em) {
+@container banner (width < 44em) {
.banner {
grid-template: var(--banner-grid-template-rows-md) / var(
--banner-grid-template-columns-md
@@ -99,7 +99,7 @@
}
}
-@container (width < 25em) {
+@container banner (width < 25em) {
.banner {
grid-template-areas: var(--banner-grid-template-areas-sm);
}