Files
dlStack/assets/css/styles.css
Joel Brock bb0f0ec13a Fix: youtube cards rendered at 0 width when constrained
YouTube cards only have absolutely-positioned children
(.yt__play, .yt__title), so their intrinsic width is 0. With
max-width:78% + justify-self:center but no `width`, the cards
collapsed to nothing — explaining the empty Videos section.
Portfolio worked because its caption has text content giving the
card an intrinsic width.

Add width:100% to the constrained rule so max-width has a definite
basis to cap against. Both portfolio and youtube cards now render
at 78% of their grid track on 700px+.
2026-05-18 17:32:54 -07:00

25 KiB