Skip to content

Commit

Permalink
dynamicweb#86 use logical for horizontal direction not vertical
Browse files Browse the repository at this point in the history
  • Loading branch information
heyyo-droid committed Mar 1, 2024
1 parent bb58449 commit f38839b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/swiffy-slider.css
Original file line number Diff line number Diff line change
Expand Up @@ -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: "";
}

Expand Down

0 comments on commit f38839b

Please sign in to comment.