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.

settings: Fix height of left sidebar for short screens.

Sahil Batracebf43903c5f
diff --git a/static/styles/settings.css b/static/styles/settings.css
index 0880c4cb91a..0ef7146cade 100644
--- a/static/styles/settings.css
+++ b/static/styles/settings.css
@@ -1797,6 +1797,12 @@ $option_title_width: 180px;
}
.sidebar {
+ position: absolute;
+ width: 100%;
+ border: none;
+ /* 48px is the height of settings header and 45px is the height of tab-container */
+ height: calc(100% - 93px);
+
li.active {
/* Don't highlight the active section in the settings list. */
background: inherit;
diff --git a/static/styles/subscriptions.css b/static/styles/subscriptions.css
index c89f39bcdca..7af4f170d33 100644
--- a/static/styles/subscriptions.css
+++ b/static/styles/subscriptions.css
@@ -1079,7 +1079,6 @@ h4.user_group_setting_subsection_title {
#groups_overlay .right,
#subscription_overlay .left,
#subscription_overlay .right,
- #settings_page .left,
#settings_page .content-wrapper.right {
position: absolute;
display: block;