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: Clean up comments for future readers.

Karl Stolleyffbd0cb31670
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index ca70f1a6e7b..0982ea4c417 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -917,10 +917,10 @@
text-shadow: none;
}
- /* With the unread marker as a grid item, there
- is no lefthand border to cover in dark mode,
- so don't apply negative margin to pull the
- unread marker to the left. */
+ /* There is no lefthand border to cover in
+ dark mode, so don't apply negative margin
+ that would otherwise pull the unread marker
+ to the left. */
.unread_marker {
margin-left: 0;
}
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 0bea97f6174..ebdf0f26f39 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -1155,9 +1155,9 @@ td.pointer {
word-wrap: break-word;
cursor: pointer;
border: none;
- /* The left padding value maintains the same amount
- of space to the left of the message box from before
- the unread marker was a grid item. */
+ /* The left padding value accounts for a 2px
+ unread marker, ensuring a uniform 5px of
+ padding on either side of the message box. */
padding: 0 5px 0 3px;
&:hover .message_controls,