mirror of https://github.com/zulip/zulip.git
settings: Fix saving indicator glitch.
jQuery's fadeOut() sets display: none using inline CSS. This was overriden by .alert-notification since it used !important to override the display: block set in loading.js. Removing the latter allows us to remove the !important, and doesn't seem to break anything. Fixes #15759.
This commit is contained in:
parent
c68333040b
commit
953d475274
|
@ -9,8 +9,7 @@ exports.make_indicator = function (outer_container, opts) {
|
|||
// width calculation, above, returns a result that's a few pixels
|
||||
// too small. The container's div will be slightly too small,
|
||||
// but that's probably OK for our purposes.
|
||||
outer_container.css({display: 'block',
|
||||
'white-space': 'nowrap'});
|
||||
outer_container.css({'white-space': 'nowrap'});
|
||||
|
||||
container.empty();
|
||||
|
||||
|
|
|
@ -591,7 +591,7 @@ input[type=checkbox] {
|
|||
}
|
||||
|
||||
.alert-notification {
|
||||
display: inline-block !important;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
height: auto !important;
|
||||
width: auto !important;
|
||||
|
|
Loading…
Reference in New Issue