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,
|
||||
&:hover:not(.inactive) {
|
||||
background: $light-grey;
|
||||
&:not(.inactive) {
|
||||
cursor: pointer;
|
||||
|
||||
&:hover,
|
||||
&.selected {
|
||||
background: $light-grey;
|
||||
}
|
||||
}
|
||||
|
||||
&.danger {
|
||||
|
|
Loading…
Reference in a new issue