Pointer events fix.

This commit is contained in:
Dermot Duffy
2021-08-22 11:18:37 -07:00
parent 3cbcdc69fa
commit 06ec66b866
+8
View File
@@ -2,6 +2,11 @@
.frigate-card-menu-base { .frigate-card-menu-base {
z-index: 1; z-index: 1;
height: 56px; height: 56px;
/* Menu div itself does not handle click events. Without this, in overlay
mode, the menu div prevents clicking on gallery items 'behind' the overlay.
*/
pointer-events: none;
} }
/* Small 'F' button for hidden menu */ /* Small 'F' button for hidden menu */
@@ -34,4 +39,7 @@ ha-icon-button.button {
border-radius: 50%; border-radius: 50%;
padding: 0px; padding: 0px;
margin: 3px; margin: 3px;
/* Buttons can always be clicked */
pointer-events: auto;
} }