mirror of https://github.com/zulip/zulip.git
stream_settings: Fix save/discard widget on narrow screens.
In narrow screens, the save/discard widget was incorrectly shown even with no changes, due to the CSS intended to switch it from `inline-block` to `block display. Fixed by adding `display: none` to `.hide` class for @media(width < 575px) to hide buttons on screen width less than 575px. Fixes #24589.
This commit is contained in:
parent
0488dfdd9e
commit
e61a092f1e
|
@ -1165,6 +1165,10 @@ div.settings-radio-input-parent {
|
|||
.save-button-controls {
|
||||
display: block;
|
||||
margin: 0 0 10px;
|
||||
|
||||
&.hide {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue