File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
packages/test-case-component/src/components Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -137,11 +137,7 @@ function Carousel({ children }: { children: React.ReactNode[] }) {
137
137
} ;
138
138
139
139
return (
140
- < div
141
- id = "default-carousel"
142
- className = "relative w-full"
143
- data-carousel = "slide"
144
- >
140
+ < div className = "carousel-base relative w-full" data-carousel = "slide" >
145
141
{ /* <!-- Carousel wrapper --> */ }
146
142
< div className = "relative h-56 overflow-hidden rounded-lg bg-gray-900 md:h-96" >
147
143
< div className = "absolute right-2 top-2 z-30 font-bold text-red-500" >
@@ -161,7 +157,7 @@ function Carousel({ children }: { children: React.ReactNode[] }) {
161
157
< button
162
158
key = { index }
163
159
type = "button"
164
- className = { clsx ( "h-3 w-3 rounded-full" , {
160
+ className = { clsx ( "m-0 h-3 w-3 rounded-full p-0 " , {
165
161
"bg-blue-500" : index === activeIndex ,
166
162
"bg-gray-300" : index !== activeIndex ,
167
163
} ) }
@@ -199,7 +195,8 @@ const SliderButton = ({
199
195
< button
200
196
type = "button"
201
197
className = { clsx (
202
- "group absolute z-30 flex h-full cursor-pointer items-center justify-center px-4 focus:outline-none" ,
198
+ "group absolute z-30 flex h-full cursor-pointer items-center justify-center border-none bg-transparent px-4 focus:outline-none" ,
199
+ "carousel-slider-btn" ,
203
200
additionalClasses ,
204
201
) }
205
202
onClick = { callback }
You can’t perform that action at this time.
0 commit comments