hds-web 1.30.0 → 1.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -87,7 +87,7 @@ export default function HomePageCarousel(props) {
|
|
87
87
|
>
|
88
88
|
<span role="img" aria-label={`Arrow left `}>
|
89
89
|
{(
|
90
|
-
<Icon height={'h-6 w-6'} variant={'arrowleft'} strokeColor='#1F2A37' />
|
90
|
+
<Icon height={'h-6 w-6 stroke-[1.5]'} variant={'arrowleft'} strokeColor='#1F2A37' />
|
91
91
|
)}
|
92
92
|
</span>
|
93
93
|
</button>
|
@@ -173,18 +173,18 @@ export default function HomePageCarousel(props) {
|
|
173
173
|
>
|
174
174
|
|
175
175
|
{props.cards.map((item, i) => (
|
176
|
-
<div className="
|
176
|
+
<div className="snap-center mx-5 shrink-0" key={i} ref={refs[i]}>
|
177
177
|
<div className="w-full select-none rounded-3xl object-contain">
|
178
178
|
{React.createElement(props.component, item)}
|
179
179
|
</div>
|
180
180
|
|
181
181
|
</div>
|
182
182
|
))}
|
183
|
-
<div className="db:snap-center snap-center tb-m:snap-start mx-5 shrink-0" key={totalCards}>
|
183
|
+
{/* <div className="db:snap-center snap-center tb-m:snap-start mx-5 shrink-0" key={totalCards}>
|
184
184
|
<div className="w-full select-none rounded-3xl object-contain">
|
185
185
|
{React.createElement(props.component, props.cards[0])}
|
186
186
|
</div>
|
187
|
-
</div>
|
187
|
+
</div> */}
|
188
188
|
|
189
189
|
|
190
190
|
</div>
|