diff --git a/README.md b/README.md index 0e77a342..9310211f 100644 --- a/README.md +++ b/README.md @@ -815,7 +815,7 @@ This card supports several menu styles. | ------------- | --------------------------------------------- | - | |`hidden`| Hide the menu by default, expandable upon clicking the Frigate button. | Menu hidden | |`overlay`| Overlay the menu over the card contents. The Frigate button shows the default view. | Menu overlaid | -|`hover`| Overlay the menu over the card contents when the mouse is over the card / touch on the card, otherwise it is not shown. The Frigate button shows the default view. | Menu overlaid | +|`hover`| Overlay the menu over the card contents when the mouse is over the menu, otherwise it is not shown. The Frigate button shows the default view. | Menu overlaid | |`outside`| Render the menu outside the card (i.e. above it if `position` is `top`, or below it if `position` is `bottom`). The Frigate button shows the default view. | Menu above | |`none`| No menu is shown. | No Menu | diff --git a/src/scss/card.scss b/src/scss/card.scss index aa293986..955b25c0 100644 --- a/src/scss/card.scss +++ b/src/scss/card.scss @@ -62,8 +62,7 @@ frigate-card-menu[data-style='hover'] { .outer + frigate-card-menu[data-style='hover'] { opacity: 0; } -.outer:hover + frigate-card-menu[data-style='hover'], -frigate-card-menu[data-mode='hover']:hover { +frigate-card-menu[data-style='hover']:hover { opacity: 1; }