Skip to content

Commit c65c13f

Browse files
committed
Fix meetup card on small text
1 parent 3b4f6d7 commit c65c13f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pollen.rkt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
; (->badges "Haskell, Nix, Racket")
2121
(define (->badges topics)
22-
(let ([top-list (map (curry string-trim #:left? #t)
22+
(let ([top-list (map (curry string-trim #:left? #t)
2323
(string-split topics ","))])
2424
`(div ([class "flex flex-wrap justify-center"] [aria-label "Tools/Techniques used"])
2525
,(for/splice ([topic top-list]) (badge topic)))))
@@ -59,16 +59,16 @@
5959
,(if (string=? img "")
6060
""
6161
`(img ([class "w-full"] [src ,img])))
62-
(div ([class "px-6 py-4"])
62+
(div ([class "px-6 py-4 w-full"])
6363
,(heading title)
6464
,@body)))
6565

6666
(define (meetups . body)
6767
`(div ([id "meetups"] [class "scroll-container mb-4 -mx-6 md:-mx-12 lg:-mx-24 md:gap-4 lg:gap-8 relative"])
6868
(div ([class "flex justify-between"])
6969
(button ([id "meetups-scroll-left"] [class "
70-
sticky -mr-6 sm:-mr-2 md:mr-0 left-0 top-0 transform
71-
text-zinc-500 bg-gradient-to-r from-white md:bg-white h-auto
70+
sticky -mr-6 sm:-mr-2 md:mr-0 left-0 top-0 transform
71+
text-zinc-500 bg-gradient-to-r from-white md:bg-white h-auto
7272
duration-200 ease-out transition
7373
z-10"])
7474
(svg ([xmlns "http://www.w3.org/2000/svg"] [fill "none"] [viewBox "0 0 24 24"] [stroke-width "1.5"] [stroke "currentColor"] [class "size-10"])
@@ -79,10 +79,10 @@
7979
,@body
8080
)
8181
(button ([id "meetups-scroll-right"] [class "
82-
sticky -ml-6 sm:-ml-2 md:ml-0 right-0 top-0 transform
83-
text-zinc-500 bg-gradient-to-l from-white sm:bg-white h-auto
82+
sticky -ml-6 sm:-ml-2 md:ml-0 right-0 top-0 transform
83+
text-zinc-500 bg-gradient-to-l from-white sm:bg-white h-auto
8484
duration-200 ease-out transition
85-
z-10"])
85+
z-10"])
8686
(svg ([xmlns "http://www.w3.org/2000/svg"] [fill "none"] [viewBox "0 0 24 24"] [stroke-width "1.5"] [stroke "currentColor"] [class "size-10"])
8787
(path ([stroke-linecap "round"] [stroke-linejoin "round"] [d "m8.25 4.5 7.5 7.5-7.5 7.5"]))
8888
)

0 commit comments

Comments
 (0)