File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 4848 ,@body)))
4949
5050(define (meetups . body)
51- `(div ([class "scroll-container mb-4 -mx-6 md:-mx-12 lg:-mx-24 md:gap-4 lg:gap-8 " ])
51+ `(div ([class "scroll-container mb-4 -mx-6 md:-mx-12 lg:-mx-24 md:gap-4 lg:gap-8 relative " ])
5252 (div ([class "flex justify-between " ])
53- (button ([id "meetups-scroll-left " ] [class "text-zinc-500 hover:cursor-pointer hover:scale-125 duration-200 ease-out transition " ])
53+ (button ([id "meetups-scroll-left " ] [class "
54+ sticky -mr-6 sm:-mr-2 md:mr-0 left-0 top-0 transform
55+ text-zinc-500 bg-gradient-to-r from-white sm:bg-white h-screen sm:h-auto
56+ hover:cursor-pointer hover:scale-125
57+ duration-200 ease-out transition
58+ z-10 " ])
5459 (svg ([xmlns "http://www.w3.org/2000/svg " ] [fill "none " ] [viewBox "0 0 24 24 " ] [stroke-width "1.5 " ] [stroke "currentColor " ] [class "size-10 " ])
5560 (path ([stroke-linecap "round " ] [stroke-linejoin "round " ] [d "M15.75 19.5 8.25 12l7.5-7.5 " ]))
5661 )
5762 )
5863 (div ([id "meetups-container " ] [class "relative flex items-center flex-grow snap-x overflow-x-auto " ])
5964 ,@body
6065 )
61- (button ([id "meetups-scroll-right " ] [class "text-zinc-500 hover:cursor-pointer hover:scale-125 duration-200 ease-out transition " ])
66+ (button ([id "meetups-scroll-right " ] [class "
67+ sticky -ml-6 sm:-ml-2 md:ml-0 right-0 top-0 transform
68+ text-zinc-500 bg-gradient-to-l from-white sm:bg-white h-screen sm:h-auto
69+ hover:cursor-pointer hover:scale-125
70+ duration-200 ease-out transition
71+ z-10 " ])
6272 (svg ([xmlns "http://www.w3.org/2000/svg " ] [fill "none " ] [viewBox "0 0 24 24 " ] [stroke-width "1.5 " ] [stroke "currentColor " ] [class "size-10 " ])
6373 (path ([stroke-linecap "round " ] [stroke-linejoin "round " ] [d "m8.25 4.5 7.5 7.5-7.5 7.5 " ]))
6474 )
You can’t perform that action at this time.
0 commit comments