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:
Pierre de La Morinerie 2019-11-20 10:48:53 +01:00
parent 59d5cd7abc
commit b90cd9f28f

View file

@ -217,10 +217,13 @@
}
}
&.selected,
&:hover:not(.inactive) {
background: $light-grey;
&:not(.inactive) {
cursor: pointer;
&:hover,
&.selected {
background: $light-grey;
}
}
&.danger {