feat(05-02): ProseImg flexible — align left/right/center/full + caption + width

This commit is contained in:
2026-04-21 15:28:39 +02:00
parent 37b6ef9112
commit b63869f042
3 changed files with 46 additions and 11 deletions
+5
View File
@@ -2,6 +2,11 @@
@import "@nuxt/ui";
@plugin "@tailwindcss/typography";
/* Offset anchor scroll for sticky header (h-16 = 64px + 16px breathing room) */
.prose :is(h1, h2, h3, h4, h5, h6) {
scroll-margin-top: 5rem;
}
/* Force Shiki dark theme in all color modes — code blocks always dark */
.shiki,
.shiki span {