File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
apps/website/src/routes/docs/headless/carousel/examples Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,15 @@ export default component$(() => {
1717 background-color: hsl(var(--primary));
1818 }
1919
20+ .mousewheel-pagination {
21+ display: flex;
22+ flex-direction: column;
23+ gap: 4px;
24+ position: absolute;
25+ top: 33%;
26+ right: 8px;
27+ }
28+
2029 ` ) ;
2130
2231 return (
@@ -38,16 +47,7 @@ export default component$(() => {
3847 </ Carousel . Slide >
3948 ) ) }
4049 </ Carousel . Scroller >
41- < Carousel . Pagination
42- style = { {
43- position : 'absolute' ,
44- top : '33%' ,
45- right : '8px' ,
46- display : 'flex' ,
47- flexDirection : 'column' ,
48- gap : 4 ,
49- } }
50- >
50+ < Carousel . Pagination class = "mousewheel-pagination" >
5151 { colors . map ( ( color ) => (
5252 < Carousel . Bullet class = "mousewheel-bullet" key = { color } />
5353 ) ) }
You can’t perform that action at this time.
0 commit comments