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.

css: Fix left sidebar toggle button misaligned on small window height.

Aman Agrawal80cc699f42c7
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 59b2aa692d3..8be28c28b3d 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -1316,8 +1316,8 @@ div.focused-message-list {
display: flex;
align-items: center;
justify-content: center;
- width: 40px;
- height: 40px;
+ width: var(--header-height);
+ height: var(--header-height);
&:hover {
background-color: var(--color-header-button-hover);
@@ -2107,9 +2107,18 @@ body:not(.hide-left-sidebar) {
height: var(--header-height);
}
+ nav
+ .column-left
+ .left-sidebar-toggle-button
+ .left-sidebar-toggle-unreadcount {
+ top: 5px;
+ right: 9px;
+ }
+
.left-sidebar-toggle-unreadcount {
/* Adjust in response to shorter navbar. */
top: 5px;
+ right: 4px;
}
#top_navbar .column-right #personal-menu .header-button-avatar {