TOPIC / TAG
Notes in astro
4 articles

A Code Block Label That Stays Put
Add a language label to Astro's Shiki code blocks with one pseudo-element, and keep it in place while long lines scroll sideways.

CSS Columns Masonry Reads in the Wrong Order
A column-count masonry grid shuffles a newest-first post list down each column; a capped CSS grid keeps it in reading order without JavaScript.

Tailwind Typography Lost Its Paragraph Spacing
An unlayered CSS reset quietly beat Tailwind Typography's prose styles; cascade layers explain why, and one @layer block fixes it.

Making Pagefind Work in Astro Development
Fix Pagefind search failing under astro dev by building the search index before the development server starts.