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.

left_sidebar: Align 'more conversations' and 'back to streams'.

Karl Stolley6784dee7751d
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index 5539131f25f..68551bb1cb1 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -288,7 +288,14 @@ li.show-more-topics {
& li#show-more-direct-messages {
cursor: pointer;
padding-right: 26px;
- padding-left: 6px;
+ /* TODO: Rewrite the show-more and show-less
+ buttons as grids alongside the left sidebar
+ header rewrites. This padding value
+ is a stopgap to provide the same lefthand
+ alignment as the "more topics" text, which
+ aligns with the topic above--just as this
+ aligns with the DM row above. */
+ padding-left: 29px;
& a {
font-size: 12px;
@@ -1214,7 +1221,12 @@ li.topic-list-item {
& span {
display: block;
- padding: 2px 0 2px 4px;
+ /* TODO: Rewrite the show-more and show-less
+ buttons as grids alongside the left sidebar
+ header rewrites. The 6px left padding here
+ aligns the "back to streams" text with the
+ DIRECT MESSAGES heading above. */
+ padding: 2px 0 2px 6px;
}
&:hover {