bootstrap: Remove unused bootstrap button classes.

This commit removes the `button-secondary`, `button-group` and
`bootstrap-btn-group` classes which don't have any corresponding styles
attached to them or are no longer in use in the codebase.
This commit is contained in:
Sayam Samal 2024-11-21 18:32:03 +05:30 committed by Tim Abbott
parent 11153eb2c8
commit d619ffa9c4
4 changed files with 4 additions and 5 deletions

View File

@ -1,7 +1,7 @@
<li class="option-row"> <li class="option-row">
<i class="zulip-icon zulip-icon-grip-vertical drag-icon"></i> <i class="zulip-icon zulip-icon-grip-vertical drag-icon"></i>
<input type="text" class="poll-option-input modal_text_input" placeholder="{{t 'New option' }}" /> <input type="text" class="poll-option-input modal_text_input" placeholder="{{t 'New option' }}" />
<button type="button" class="button rounded small button-secondary delete-option" title="{{t 'Delete' }}"> <button type="button" class="button rounded small delete-option" title="{{t 'Delete' }}">
<i class="fa fa-trash-o" aria-hidden="true"></i> <i class="fa fa-trash-o" aria-hidden="true"></i>
</button> </button>
</li> </li>

View File

@ -1,4 +1,4 @@
<div id="recent_view_filter_buttons" class="button-group" role="group"> <div id="recent_view_filter_buttons" role="group">
<div id="recent_filters_group"> <div id="recent_filters_group">
{{> recent_view_filters .}} {{> recent_view_filters .}}
</div> </div>

View File

@ -44,7 +44,7 @@
<div class="bot-card-api-key-value-and-button no-select"> <div class="bot-card-api-key-value-and-button no-select">
<!-- have the `.text-select` in `.no-select` so that the value doesn't have trailing whitespace. --> <!-- have the `.text-select` in `.no-select` so that the value doesn't have trailing whitespace. -->
<span class="bot-card-value text-select">{{api_key}}</span> <span class="bot-card-value text-select">{{api_key}}</span>
<button type="submit" class="button no-style button-secondary bot-card-regenerate-bot-api-key tippy-zulip-delayed-tooltip" data-tippy-content="{{t 'Generate new API key' }}" data-user-id="{{user_id}}"> <button type="submit" class="button no-style bot-card-regenerate-bot-api-key tippy-zulip-delayed-tooltip" data-tippy-content="{{t 'Generate new API key' }}" data-user-id="{{user_id}}">
<i class="fa fa-refresh" aria-hidden="true"></i> <i class="fa fa-refresh" aria-hidden="true"></i>
</button> </button>
</div> </div>

View File

@ -242,8 +242,7 @@ input:focus:invalid:focus {
.form-inline .hide { .form-inline .hide {
display: none; display: none;
} }
.form-inline label, .form-inline label {
.form-inline .bootstrap-btn-group {
display: inline-block; display: inline-block;
} }
.dropdown { .dropdown {