Skip to content

Commit ab6efb4

Browse files
fix: disable tw fade scroll fades on non-supported browsers. (#1313)
fix: disable vertical fade fallback without scroll timelines Co-authored-by: Ciarán Curley <2125961+DogPawHat@users.noreply.github.com> Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
1 parent 78e6ff0 commit ab6efb4

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎src/styles/app.css‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@
99
@custom-variant auto (&:is(.auto, .auto *));
1010
@custom-variant aria-current (&[aria-current="location"]);
1111

12+
@supports not (animation-timeline: scroll()) {
13+
.fade-y {
14+
--tw-fade-t: 0 !important;
15+
--tw-fade-b: 0 !important;
16+
}
17+
}
18+
1219
html.theme-switching,
1320
html.theme-switching *,
1421
html.theme-switching *::before,

0 commit comments

Comments
 (0)