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.

navbar: Remove empty space to the left and right.

Aman Agrawal32b4aa088398
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index bd7034cbc8e..53afd0ab0a1 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -55,8 +55,8 @@
*/
--left-sidebar-collapse-widget-gutter: 10px;
--left-sidebar-width: 270px;
- /* 15px (left margin) + 40px (toggle icon) + 10px (margin) + 20px logo + 10px right margin */
- --left-sidebar-width-with-realm-icon-logo: 95px;
+ /* 40px (toggle icon) + 5px (gap) + 20px logo + 10px right margin */
+ --left-sidebar-width-with-realm-icon-logo: 75px;
--right-sidebar-width: 250px;
--left-sidebar-header-icon-width: 15px;
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index c9fb723d21f..a103ffdd499 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -1416,7 +1416,6 @@ div.focused-message-list {
nav {
.column-left {
text-align: left;
- margin-left: 15px;
display: flex;
justify-content: left;
gap: 4px;
@@ -1436,13 +1435,9 @@ nav {
}
}
- .left-sidebar-toggle-button {
- margin-right: 5px;
-
- .left-sidebar-toggle-unreadcount {
- top: 10px;
- left: 21px;
- }
+ .left-sidebar-toggle-button .left-sidebar-toggle-unreadcount {
+ top: 10px;
+ left: 21px;
}
}
@@ -2015,8 +2010,8 @@ body:not(.hide-left-sidebar) {
}
#navbar-middle {
- /* = (width of button, square with header) * 4 (number of buttons) + 10px extra margin. */
- margin-right: calc(var(--header-height) * 4 + 10px);
+ /* = (width of button, square with header) * 4 (number of buttons) + 3px extra margin. */
+ margin-right: calc(var(--header-height) * 4 + 3px);
}
#typing_notifications,
@@ -2365,9 +2360,6 @@ body:not(.hide-left-sidebar) {
width: calc(var(--right-sidebar-width) - 7px - 7px);
justify-content: flex-end;
align-items: center;
- /* Move the column to the right with absolute
- positioning, rather than margin. */
- right: 7px;
& a:focus {
filter: none;