@@ -383,15 +383,17 @@ watch(jumpVersion, () => {
383383 </header >
384384
385385 <!-- Content -->
386- <div class =" container py-8 space-y-8" >
386+ <div class =" max-w-6xl mx-auto py-8 space-y-8" >
387387 <!-- ── Current Tags ───────────────────────────────────────────────────── -->
388388 <section class =" space-y-3" >
389- <h2 class =" text-xs text-fg-subtle uppercase tracking-wider ps-1" >Current Tags</h2 >
389+ <h2 class =" text-xs text-fg-subtle uppercase tracking-wider px-4 sm:px-6 ps-1" >
390+ Current Tags
391+ </h2 >
390392
391393 <!-- Latest — featured card -->
392394 <div
393395 v-if =" tagRows[0]"
394- class =" rounded-lg border border-accent/40 bg-accent/5 px-5 py-4 relative flex items-center justify-between gap-4 hover:bg-accent/8 transition-colors"
396+ class =" border-y sm: rounded-lg sm: border border-accent/40 bg-accent/5 px-5 py-4 relative flex items-center justify-between gap-4 hover:bg-accent/8 transition-colors"
395397 >
396398 <!-- Left: tags + version -->
397399 <div >
@@ -432,7 +434,10 @@ watch(jumpVersion, () => {
432434 </div >
433435
434436 <!-- Other tags — compact list (hidden when only latest exists) -->
435- <div v-if =" tagRows.length > 1" class =" rounded-lg border border-border overflow-hidden" >
437+ <div
438+ v-if =" tagRows.length > 1"
439+ class =" border-y sm:rounded-lg sm:border border-border sm:overflow-hidden"
440+ >
436441 <div
437442 v-for =" row in tagRows.slice(1)"
438443 :key =" row.id"
@@ -482,7 +487,7 @@ watch(jumpVersion, () => {
482487
483488 <!-- ── Version History ───────────────────────────────────────────────── -->
484489 <section >
485- <h2 class =" text-xs text-fg-subtle uppercase tracking-wider mb-3 ps-1" >
490+ <h2 class =" text-xs text-fg-subtle uppercase tracking-wider mb-3 px-4 sm:px-6 ps-1" >
486491 Version History
487492 <span class =" ms-1 normal-case font-normal tracking-normal" >
488493 ({{ sortedVersions.length }})
@@ -492,7 +497,9 @@ watch(jumpVersion, () => {
492497 <!-- List + changelog side panel -->
493498 <div class =" flex items-start" >
494499 <!-- Version list -->
495- <div class =" flex-1 min-w-0 rounded-lg border border-border overflow-hidden" >
500+ <div
501+ class =" flex-1 min-w-0 border-y sm:border border-border sm:rounded-lg sm:overflow-hidden"
502+ >
496503 <div
497504 v-for =" v in sortedVersions"
498505 :key =" v.version"
@@ -575,12 +582,28 @@ watch(jumpVersion, () => {
575582 </button >
576583 </div >
577584 </div >
585+
586+ <!-- Mobile inline changelog (below the row, sm and up uses side panel) -->
587+ <div
588+ v-if =" v.hasChangelog"
589+ class =" grid sm:hidden transition-[grid-template-rows] duration-200 ease-out motion-reduce:transition-none"
590+ :class ="
591+ selectedChangelogVersion === v.version ? 'grid-rows-[1fr]' : 'grid-rows-[0fr]'
592+ "
593+ >
594+ <div class =" overflow-hidden" >
595+ <div
596+ class =" changelog-body border-t border-border px-4 py-3 text-sm"
597+ v-html =" selectedChangelogVersion === v.version ? selectedChangelogHtml : ''"
598+ />
599+ </div >
600+ </div >
578601 </div >
579602 </div >
580603
581- <!-- Changelog side panel -->
604+ <!-- Changelog side panel (desktop only) -->
582605 <div
583- class =" overflow-hidden shrink-0 transition-[width] duration-200 ease-out motion-reduce:transition-none"
606+ class =" hidden sm:block overflow-hidden shrink-0 transition-[width] duration-200 ease-out motion-reduce:transition-none"
584607 :class =" selectedChangelogVersion ? 'w-[28rem] ms-6' : 'w-0'"
585608 >
586609 <!-- Fixed-width inner keeps content from squishing during animation -->
0 commit comments