From b16636c18031cdd7aefaa712d8c143b823b68d39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samy=20Pess=C3=A9?= Date: Wed, 17 Jan 2024 12:18:31 +0100 Subject: [PATCH] Only show table progress on browsers that supports it (#99) --- src/components/DocumentView/Table/table.module.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/DocumentView/Table/table.module.css b/src/components/DocumentView/Table/table.module.css index d35a2c4a2..06901c6e4 100644 --- a/src/components/DocumentView/Table/table.module.css +++ b/src/components/DocumentView/Table/table.module.css @@ -1,3 +1,8 @@ +/* Hide it on browsers (firefox / safari) that do not support it */ +.progressOpacitySharp { + display: none; +} + @supports (animation-timeline: scroll()) { .progressContainer { scroll-timeline-name: --squareTimeline; @@ -13,6 +18,7 @@ } .progressOpacitySharp { + display: grid; opacity: 0; animation-name: opacityProgressSharp; animation-duration: 1ms;