styles: fix hover on dropdown items
More specifically, fix items in the Help dropdown displaying a pointer cursor on the whole area – where only the links inside the item should have the hover cursor. Also, having a `cursor: pointer` rule applied only on hover state is difficult to debug: better to apply it always, and let the browser handle it.
This commit is contained in:
parent
59d5cd7abc
commit
b90cd9f28f
1 changed files with 6 additions and 3 deletions
|
@ -217,10 +217,13 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.selected,
|
&:not(.inactive) {
|
||||||
&:hover:not(.inactive) {
|
|
||||||
background: $light-grey;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&.selected {
|
||||||
|
background: $light-grey;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.danger {
|
&.danger {
|
||||||
|
|
Loading…
Add table
Reference in a new issue