mirror of
https://github.com/zulip/zulip.git
synced 2026-06-30 21:11:04 +08:00
settings: Move save check width to stylesheet and scale with font size.
This commit is contained in:
parent
82ee8ca7cc
commit
de6f15a565
@ -20,7 +20,7 @@ export type RequestOpts = {
|
||||
export function display_checkmark($elem: JQuery): void {
|
||||
const $check_mark = $("<img>");
|
||||
$check_mark.attr("src", checkbox_image);
|
||||
$check_mark.css("width", "13px");
|
||||
$check_mark.addClass("settings-save-checkmark");
|
||||
$elem.prepend($check_mark);
|
||||
}
|
||||
|
||||
|
||||
@ -590,7 +590,8 @@ input[type="checkbox"] {
|
||||
}
|
||||
|
||||
.alert-notification {
|
||||
display: inline-block;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
vertical-align: top;
|
||||
height: auto !important;
|
||||
width: auto !important;
|
||||
@ -619,8 +620,8 @@ input[type="checkbox"] {
|
||||
}
|
||||
|
||||
.loading_indicator_spinner {
|
||||
width: 13px;
|
||||
height: 20px;
|
||||
width: 0.9283em; /* 13px at 14px/em */
|
||||
height: 1.4286em; /* 20px at 14px/em */
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@ -640,6 +641,10 @@ input[type="checkbox"] {
|
||||
vertical-align: middle;
|
||||
margin-top: -2px;
|
||||
}
|
||||
|
||||
.settings-save-checkmark {
|
||||
width: 0.9285em; /* 13px at 14px/em */
|
||||
}
|
||||
}
|
||||
|
||||
#profile-field-settings #admin-add-profile-field-status {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user