mirror of https://github.com/zulip/zulip.git
settings: Fix flickering of icon when hovering on discard button.
The color of "x" icon in "Discard" button flickers when hovering over the button. This commit fixes it by just adding the hover color to the text and not icon which was anyways set to original color using different selector which was the cause of flickering.
This commit is contained in:
parent
c0e2c9b6d6
commit
e80e3b07c4
|
@ -763,10 +763,9 @@ div.overlay {
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
border: 1px solid hsl(0, 0%, 61%);
|
border: 1px solid hsl(0, 0%, 61%);
|
||||||
color: hsl(0, 0%, 18%);
|
|
||||||
|
|
||||||
.save-discard-widget-button-icon {
|
.discard-button.save-discard-widget-button-text {
|
||||||
color: hsl(0, 0%, 47%);
|
color: hsl(0, 0%, 18%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue