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.

sidebars: Correct display at small mobile sizes.

Karl Stolley1f0e9b4587f3
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 819c30fba35..72fdf9c4541 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -3118,14 +3118,20 @@ select.invite-as {
@media (width < $sm_min) {
.column-right.expanded .right-sidebar,
.column-left.expanded .left-sidebar {
- margin-top: 31px;
+ margin-top: var(--navbar-fixed-height);
+ /* For very small sizes, skip the relatively large top padding. */
+ padding-top: 0;
+ }
+
+ /* TODO: Properly and accurately align the
+ topmost headers on the left and right
+ sidebar. */
+ .column-right.expanded .right-sidebar-items {
+ margin-top: 10px;
}
.column-left.expanded {
.left-sidebar {
- /* For very small sizes, skip the relatively large top padding. */
- padding-top: 0;
-
#streams_header {
padding-right: 10px;
}