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.

stylelint: Fix media-feature-range-notation.

Anders Kaseorge9c1d727715b
diff --git a/web/styles/portico/footer.css b/web/styles/portico/footer.css
index b8ed18f4882..5078c90b2f9 100644
--- a/web/styles/portico/footer.css
+++ b/web/styles/portico/footer.css
@@ -139,7 +139,7 @@
}
/* #footer responsivity and global fixes */
- @media (max-width: 940px) {
+ @media (width <= 940px) {
.footer__container {
justify-content: flex-start;
row-gap: 0;
@@ -150,7 +150,7 @@
}
}
- @media (max-width: 600px) {
+ @media (width <= 600px) {
.footer__legal {
padding: 0 10px;
}
@@ -169,7 +169,7 @@
}
}
- @media (max-width: 400px) {
+ @media (width <= 400px) {
.footer__container {
gap: 0;
flex-direction: column;
diff --git a/web/styles/portico/integrations.css b/web/styles/portico/integrations.css
index bbaec3cc45f..b9ca94735f6 100644
--- a/web/styles/portico/integrations.css
+++ b/web/styles/portico/integrations.css
@@ -427,7 +427,7 @@ $category-text: hsl(219deg 23% 33%);
}
}
- @media (max-width: 550px) {
+ @media (width <= 550px) {
.button {
display: flex;
flex-wrap: wrap;
diff --git a/web/styles/portico/navbar.css b/web/styles/portico/navbar.css
index 6b6f666ccfa..e03f8b8d54d 100644
--- a/web/styles/portico/navbar.css
+++ b/web/styles/portico/navbar.css
@@ -252,20 +252,20 @@
margin-right: 4px;
}
-@media (max-width: 1400px) {
+@media (width <= 1400px) {
.top-menu-submenu.singup-column {
justify-content: flex-end;
right: 55px;
}
}
-@media (max-width: 1170px) {
+@media (width <= 1170px) {
.top-menu-tab .top-menu-tab-user-label {
max-width: 84px;
}
}
-@media (max-width: 1024px) {
+@media (width <= 1024px) {
.top-menu-tab .top-menu-tab-user-label {
max-width: 40px;
}
@@ -580,7 +580,7 @@
}
/* menu responsivity */
-@media (max-width: 1311px) {
+@media (width <= 1311px) {
.top-menu {
background: hsl(240deg 100% 10% / 50%);
}
@@ -596,7 +596,7 @@
}
}
-@media (max-width: 940px) {
+@media (width <= 940px) {
.top-menu {
display: none;
}
diff --git a/web/styles/portico/portico.css b/web/styles/portico/portico.css
index 5cbe440b8e6..4f58f3994a2 100644
--- a/web/styles/portico/portico.css
+++ b/web/styles/portico/portico.css
@@ -1115,7 +1115,7 @@ input.new-organization-button {
}
}
-@media (max-height: 600px) {
+@media (height <= 600px) {
.password-container {
margin-top: 10px;
}