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: Remove `margin-top` from move messages count if empty.

Saubhagya Patel23ad52f867f8
diff --git a/web/styles/popovers.css b/web/styles/popovers.css
index 8d8f9f5e007..c8276425fc9 100644
--- a/web/styles/popovers.css
+++ b/web/styles/popovers.css
@@ -891,6 +891,12 @@ ul.popover-group-menu-member-list {
margin-top: -20px;
font-style: italic;
opacity: 0.7;
+
+ /* For cases where the count isn't displayed, which may primarily
+ occur due to bugs, avoid applying the above negative margin. */
+ &:empty {
+ margin-top: unset;
+ }
}
.topic_stream_edit_header {