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.

user_profile: Adjust the stream tab headings to look good.

palashb011765ce23b059
diff --git a/web/styles/popovers.css b/web/styles/popovers.css
index ef10021ae58..26e0041c268 100644
--- a/web/styles/popovers.css
+++ b/web/styles/popovers.css
@@ -514,6 +514,13 @@ ul {
margin-bottom: 20px;
}
+ .stream-tab-element-header {
+ margin: 0;
+ display: inline-block;
+ font-weight: inherit;
+ font-size: 21px;
+ }
+
#user-profile-streams-tab {
.stream_list_info {
margin-bottom: 8px;
@@ -527,12 +534,6 @@ ul {
padding-right: 3px;
}
- .subscribe-widget-header {
- margin: 0;
- display: inline-block;
- font-weight: inherit;
- }
-
.user_profile_subscribe_widget {
display: flex;
justify-content: space-between;
@@ -543,12 +544,7 @@ ul {
.stream-list-top-section {
display: flex;
-
- .stream-list-header {
- margin: 0;
- display: inline-block;
- font-weight: inherit;
- }
+ margin-top: 12px;
.stream-search {
margin-left: auto;
diff --git a/web/templates/user_profile_modal.hbs b/web/templates/user_profile_modal.hbs
index 6b8baedbace..17cf23f5c53 100644
--- a/web/templates/user_profile_modal.hbs
+++ b/web/templates/user_profile_modal.hbs
@@ -93,13 +93,13 @@
<div class="alert stream_list_info"></div>
{{#if show_user_subscribe_widget}}
<div class="header-section">
- <h3 class="subscribe-widget-header">{{t 'Subscribe {full_name} to streams'}}</h3>
+ <h3 class="stream-tab-element-header">{{t 'Subscribe {full_name} to streams'}}</h3>
</div>
{{> user_profile_subscribe_widget}}
{{/if}}
<div class="stream-list-top-section">
<div class="header-section">
- <h3 class="stream-list-header">{{t 'Subscribed streams' }}</h3>
+ <h3 class="stream-tab-element-header">{{t 'Subscribed streams' }}</h3>
</div>
<input type="text" class="stream-search modal_text_input" placeholder="{{t 'Filter streams' }}" />
<button type="button" class="clear_search_button" id="clear_stream_search">