From f38839b0e5aff44e047b279693e6afc3cee436e5 Mon Sep 17 00:00:00 2001 From: Lionel Enkaoua Date: Fri, 1 Mar 2024 13:47:52 +0200 Subject: [PATCH] #86 use logical for horizontal direction not vertical --- src/swiffy-slider.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/swiffy-slider.css b/src/swiffy-slider.css index c2a1bcb..8297d43 100644 --- a/src/swiffy-slider.css +++ b/src/swiffy-slider.css @@ -102,7 +102,7 @@ .slider-item-ratio .slider-container>*::after { display: block; - padding-block-start: calc( 100% / (var(--swiffy-slider-item-ratio))); + padding-top: calc( 100% / (var(--swiffy-slider-item-ratio))); content: ""; }