From 9d26c2277654238020a53719377e020e66ec4215 Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Sun, 5 Sep 2021 10:33:09 -0700 Subject: [PATCH] Fix gallery scrolling in Safari --- src/frigate-hass-card.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frigate-hass-card.scss b/src/frigate-hass-card.scss index b251d4a1..fe7f96e5 100644 --- a/src/frigate-hass-card.scss +++ b/src/frigate-hass-card.scss @@ -7,6 +7,7 @@ max-height: 277px; /* Max Lovelace 16/9 video height */ height: 100%; aspect-ratio: 16 / 9; + overflow: auto; } .frigate-card-viewer { @@ -17,7 +18,7 @@ } .frigate-card-gallery { - overflow: auto; + overflow: scroll; -ms-overflow-style: none; /* Hide scrollbar: IE and Edge */ scrollbar-width: none; /* Hide scrollbar: Firefox */