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 unused btn-block styles.

Tim Abbottee9a9bfa986a
diff --git a/templates/two_factor/_wizard_forms.html b/templates/two_factor/_wizard_forms.html
index 159536ae3bf..4c0aab440e2 100644
--- a/templates/two_factor/_wizard_forms.html
+++ b/templates/two_factor/_wizard_forms.html
@@ -27,7 +27,7 @@
<p>
{% for other in other_devices %}
<button name="challenge_device" value="{{ other.persistent_id }}"
- class="btn btn-default btn-block" type="submit">
+ class="two-factor-button" type="submit">
{{ other|device_action }}
</button>
{% endfor %}
@@ -37,7 +37,7 @@
<p>{{ _("As a last resort, you can use a backup token:") }}</p>
<p>
<button name="wizard_goto_step" type="submit" value="backup"
- class="btn btn-default btn-block">
+ class="two-factor-button">
{{ _("Use backup token") }}
</button>
</p>
diff --git a/web/third/bootstrap/css/bootstrap-btn.css b/web/third/bootstrap/css/bootstrap-btn.css
index d9ffdabf7ba..3497ec5e818 100644
--- a/web/third/bootstrap/css/bootstrap-btn.css
+++ b/web/third/bootstrap/css/bootstrap-btn.css
@@ -227,12 +227,3 @@ THE SOFTWARE.
color: #999;
text-decoration: none;
}
-.btn-block {
- display: block;
- width: 100%;
- padding-right: 0;
- padding-left: 0;
-}
-.btn-block + .btn-block {
- margin-top: 5px;
-}