settings: Remove .w-200 class from .new-style cluster.

All elements that use this have their width already superseded by
other selectors.
This commit is contained in:
Karl Stolley 2024-08-30 14:51:24 -05:00 committed by Tim Abbott
parent 2e6a34042f
commit 0cfddc9874
4 changed files with 4 additions and 8 deletions

View File

@ -67,10 +67,6 @@ h3,
text-align: center; text-align: center;
} }
.w-200 {
width: 200px;
}
.button { .button {
& ul { & ul {
text-align: left; text-align: left;

View File

@ -2,7 +2,7 @@
<div class="settings-password-div"> <div class="settings-password-div">
<label for="old_password" class="modal-field-label">{{t "Old password" }}</label> <label for="old_password" class="modal-field-label">{{t "Old password" }}</label>
<div class="password-input-row"> <div class="password-input-row">
<input type="password" autocomplete="off" name="old_password" id="old_password" class="w-200 inline-block modal_password_input" value="" /> <input type="password" autocomplete="off" name="old_password" id="old_password" class="inline-block modal_password_input" value="" />
<i class="fa fa-eye-slash password_visibility_toggle tippy-zulip-tooltip" role="button" tabindex="0"></i> <i class="fa fa-eye-slash password_visibility_toggle tippy-zulip-tooltip" role="button" tabindex="0"></i>
<a href="/accounts/password/reset/" class="settings-forgot-password sea-green" target="_blank" rel="noopener noreferrer">{{t "Forgot it?" }}</a> <a href="/accounts/password/reset/" class="settings-forgot-password sea-green" target="_blank" rel="noopener noreferrer">{{t "Forgot it?" }}</a>
</div> </div>
@ -10,7 +10,7 @@
<div class="settings-password-div"> <div class="settings-password-div">
<label for="new_password" class="modal-field-label">{{t "New password" }}</label> <label for="new_password" class="modal-field-label">{{t "New password" }}</label>
<div class="password-input-row"> <div class="password-input-row">
<input type="password" autocomplete="new-password" name="new_password" id="new_password" class="w-200 inline-block modal_password_input" value="" <input type="password" autocomplete="new-password" name="new_password" id="new_password" class="inline-block modal_password_input" value=""
data-min-length="{{password_min_length}}" data-min-guesses="{{password_min_guesses}}" /> data-min-length="{{password_min_length}}" data-min-guesses="{{password_min_guesses}}" />
<i class="fa fa-eye-slash password_visibility_toggle tippy-zulip-tooltip" role="button" tabindex="0"></i> <i class="fa fa-eye-slash password_visibility_toggle tippy-zulip-tooltip" role="button" tabindex="0"></i>
</div> </div>

View File

@ -49,7 +49,7 @@
is_editable_by_current_user = is_admin is_editable_by_current_user = is_admin
image = realm_icon_url }} image = realm_icon_url }}
</div> </div>
<a href="/login/?preview=true" target="_blank" rel="noopener noreferrer" class="button rounded sea-green w-200 block" id="id_org_profile_preview"> <a href="/login/?preview=true" target="_blank" rel="noopener noreferrer" class="button rounded sea-green block" id="id_org_profile_preview">
{{t 'Preview organization profile' }} {{t 'Preview organization profile' }}
<i class="fa fa-external-link" aria-hidden="true"></i> <i class="fa fa-external-link" aria-hidden="true"></i>
</a> </a>

View File

@ -62,7 +62,7 @@
<span class="user-details-desc">{{date_joined_text}}</span> <span class="user-details-desc">{{date_joined_text}}</span>
</div> </div>
</div> </div>
<button class="button rounded sea-green w-200 block" id="show_my_user_profile_modal"> <button class="button rounded sea-green block" id="show_my_user_profile_modal">
{{t 'Preview profile' }} {{t 'Preview profile' }}
<i class="fa fa-external-link" aria-hidden="true"></i> <i class="fa fa-external-link" aria-hidden="true"></i>
</button> </button>