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: Use classname for show_my_user_profile_modal icon styles.

Shubham Padia77ebdfac7717
diff --git a/web/styles/settings.css b/web/styles/settings.css
index c7e00ba2ba5..b93a30d6329 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -1569,11 +1569,11 @@ $option_title_width: 180px;
width: 100%;
top: 20px;
position: sticky;
- }
- #show_my_user_profile_modal i {
- padding-left: 2px;
- vertical-align: middle;
+ .show-user-profile-icon {
+ padding-left: 2px;
+ vertical-align: middle;
+ }
}
}
diff --git a/web/templates/settings/profile_settings.hbs b/web/templates/settings/profile_settings.hbs
index bcb6866b2ce..110c9ac2979 100644
--- a/web/templates/settings/profile_settings.hbs
+++ b/web/templates/settings/profile_settings.hbs
@@ -64,7 +64,7 @@
</div>
<button class="button rounded sea-green" id="show_my_user_profile_modal">
{{t 'Preview profile' }}
- <i class="fa fa-external-link" aria-hidden="true"></i>
+ <i class="show-user-profile-icon fa fa-external-link" aria-hidden="true"></i>
</button>
</div>
</div>