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[] }) {
137137 } ;
138138
139139 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" >
145141 { /* <!-- Carousel wrapper --> */ }
146142 < div className = "relative h-56 overflow-hidden rounded-lg bg-gray-900 md:h-96" >
147143 < div className = "absolute right-2 top-2 z-30 font-bold text-red-500" >
@@ -161,7 +157,7 @@ function Carousel({ children }: { children: React.ReactNode[] }) {
161157 < button
162158 key = { index }
163159 type = "button"
164- className = { clsx ( "h-3 w-3 rounded-full" , {
160+ className = { clsx ( "m-0 h-3 w-3 rounded-full p-0 " , {
165161 "bg-blue-500" : index === activeIndex ,
166162 "bg-gray-300" : index !== activeIndex ,
167163 } ) }
@@ -199,7 +195,8 @@ const SliderButton = ({
199195 < button
200196 type = "button"
201197 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" ,
203200 additionalClasses ,
204201 ) }
205202 onClick = { callback }
You can’t perform that action at this time.
0 commit comments