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: ""; }