mirror of https://github.com/zulip/zulip.git
modal_button: Use negative outline-offset to compensate for scaling.
This commit is contained in:
parent
6c500e9a6e
commit
e11cfd7ba8
|
@ -142,6 +142,12 @@
|
|||
.modal__btn:focus,
|
||||
.modal__btn:hover {
|
||||
transform: scale(1.05);
|
||||
/* The extremely subtle 1.05 scale can cause
|
||||
a gap to appear between the outline and
|
||||
button background color; this negative
|
||||
offset preserves the scale effect, but also
|
||||
covers any tiny gaps owing to subtle scaling. */
|
||||
outline-offset: -1px;
|
||||
}
|
||||
|
||||
.dialog_exit_button {
|
||||
|
|
Loading…
Reference in New Issue