Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
settings: Fix media-query edge case.
Gittenburg2fe8d7507df9
diff --git a/static/styles/settings.scss b/static/styles/settings.scssindex 8dfa6b22136..120375a9caa 100644--- a/static/styles/settings.scss+++ b/static/styles/settings.scss@@ -2057,7 +2057,9 @@ body:not(.night-mode) #settings_page .custom_user_field .datepicker {}}-@media (max-width: 700px) {+// This value needs to match with the same in subscriptions.scss, as+// we have some shared styles declared there+@media (max-width: 750px) {#settings_overlay_container {// this variable allows JavaScript to detect this media query--single-column: yes;diff --git a/static/styles/subscriptions.scss b/static/styles/subscriptions.scssindex fbacff2f7d7..4b56ef5d96b 100644--- a/static/styles/subscriptions.scss+++ b/static/styles/subscriptions.scss@@ -1111,6 +1111,11 @@ ul.grey-box {}}+// Note that this block has settings_page CSS as well, and thus needs+// to match the media queries in settings.scss.+//+// Longer-term we should extract this logic two-column-overlay class+// to read more naturally.@media (max-width: 750px) {.subscriptions-container {position: relative;