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.

modals: Refactor help_link_widget for confirmation modal.

yogesh sirsat078d966c6463
diff --git a/static/styles/modal.css b/static/styles/modal.css
index 0d319455207..86ff8619a8a 100644
--- a/static/styles/modal.css
+++ b/static/styles/modal.css
@@ -81,7 +81,7 @@
line-height: 1.25;
/* help_link_widget margin for the fa-circle-o. */
- a {
+ .help_link_widget {
margin-left: 5px;
}
}
diff --git a/static/templates/help_link_widget.hbs b/static/templates/help_link_widget.hbs
index 583eeb1ccf4..10e9a8e1ee2 100644
--- a/static/templates/help_link_widget.hbs
+++ b/static/templates/help_link_widget.hbs
@@ -1,3 +1,3 @@
-<a href="{{ link }}" target="_blank" rel="noopener noreferrer">
+<a class="help_link_widget" href="{{ link }}" target="_blank" rel="noopener noreferrer">
<i class="fa fa-question-circle-o" aria-hidden="true"></i>
</a>