Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
user_profile: Align privacy icons with stream names in popover.
userAdityaa15516e6a6d2c
diff --git a/web/styles/popovers.css b/web/styles/popovers.cssindex 11a12d62997..b8796fac653 100644--- a/web/styles/popovers.css+++ b/web/styles/popovers.css@@ -542,7 +542,8 @@ ul.popover-group-menu-member-list {}.stream-privacy {- display: inline-block;+ display: flex;+ align-items: center;}.filter-icon i {@@ -635,17 +636,21 @@ ul.popover-group-menu-member-list {& td {padding: 4px 0;- &:first-of-type {- padding-left: 10px;- }-- &:last-of-type {- padding-right: 10px;- }-&.remove_subscription,&.remove_member {text-align: right;+ padding-right: 10px;+ }++ &.user-profile-channel-row,+ &.user-profile-group-row {+ text-align: left;+ padding-left: 10px;++ & .user-profile-channel-container {+ display: flex;+ gap: 3px;+ }}}}diff --git a/web/templates/user_stream_list_item.hbs b/web/templates/user_stream_list_item.hbsindex f36cb828b49..82aa342b283 100644--- a/web/templates/user_stream_list_item.hbs+++ b/web/templates/user_stream_list_item.hbs@@ -1,9 +1,11 @@<tr data-stream-id="{{stream_id}}"><td class="user-profile-channel-row">- <span class="stream-privacy-original-color-{{stream_id}} stream-privacy filter-icon" style="color: {{stream_color}}">- {{> stream_privacy . }}- </span>- <a class="user-profile-channel-list-item" href="{{stream_edit_url}}">{{name}}</a>+ <div class="user-profile-channel-container">+ <span class="stream-privacy-original-color-{{stream_id}} stream-privacy filter-icon" style="color: {{stream_color}}">+ {{> stream_privacy . }}+ </span>+ <a class="user-profile-channel-list-item" href="{{stream_edit_url}}">{{name}}</a>+ </div></td>{{#if show_unsubscribe_button}}<td class="remove_subscription">