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.

top_navbar: Remove unecessary styles and vertical padding.

Karl Stolley1337b607388b
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 4bba30917c7..a74f0c68257 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -2273,11 +2273,7 @@ div.focused-message-list {
height: var(--header-height);
width: 100%;
line-height: var(--header-height);
- font-size: 16px;
display: flex;
- align-content: flex-start;
- flex-wrap: nowrap;
- margin: 0;
white-space: nowrap;
cursor: default;
@@ -2287,21 +2283,15 @@ div.focused-message-list {
.message-header-stream-settings-button,
& > span {
- white-space: nowrap;
- list-style-type: none;
- display: inline-block;
- vertical-align: top;
- position: relative;
font-weight: 600;
font-size: 16px;
- line-height: 16px;
margin: 0 -4px 0 0;
- padding: 12px 6px;
+ padding: 0 6px;
overflow: hidden;
text-overflow: ellipsis;
@media (width < $sm_min) {
- padding: 7px 3.5px; /* based on having ~41.66% decrease */
+ padding: 0 3.5px; /* based on having ~41.66% decrease */
}
& i {
@@ -2336,8 +2326,6 @@ div.focused-message-list {
.zulip-icon {
font-size: 14px;
- position: relative;
- top: 1px;
}
}
@@ -2349,23 +2337,11 @@ div.focused-message-list {
is chosen such that the narrow description shrinks to close
before the stream name must begin to shrink */
flex-shrink: 100;
- white-space: nowrap;
- padding: 12px 0;
padding-left: 10px;
background: none;
font-size: 14px;
color: inherit;
font-weight: 400;
- line-height: 20px;
-
- @media (width < $sm_min) {
- padding: 7px 0;
- padding-left: 10px;
- }
-
- & > a {
- padding: 12px 0;
- }
}
/* The very last element in the navbar is the search icon, the second