style: update hero-carousel styling

This commit is contained in:
Prayag Prajapati committed 2024-06-08 17:52:05 +05:30
1 parent badc2b622f
commit 326b093210
27 files changed
+750 -382

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
.slider {
position: relative;
&-track {
overflow-y: hidden;
overflow-x: auto;
white-space: nowrap;
position: relative;
overscroll-behavior-x: contain;
margin: 0.5em 1em;
&-item {
display: inline-block;
// align-self: top;
padding: 0.5em 0;
}
}
&-button {
position: absolute !important;
bottom: 1.3em;
&.left {
left: -1.2em;
}
&.right {
right: -1.2em;
}
}
}