One track-list shape across the web app, drag reorder that snaps (M494) #152
@@ -62,14 +62,8 @@
|
|||||||
<div class="section" aria-label={ariaLabel}>
|
<div class="section" aria-label={ariaLabel}>
|
||||||
<header class="section-header">
|
<header class="section-header">
|
||||||
{#if title}
|
{#if title}
|
||||||
<!-- Section header: Fraunces (font-display) at 24px with an
|
<!-- Section header: Fraunces (font-display) at 24px. -->
|
||||||
inline accent rule that bleeds out from the title — gives
|
<h2 class="font-display text-2xl font-medium text-text-primary">{title}</h2>
|
||||||
each shelf a clear chapter break without adding chrome. -->
|
|
||||||
<h2
|
|
||||||
class="font-display text-2xl font-medium text-text-primary
|
|
||||||
flex items-baseline gap-3 after:h-[2px] after:w-12 after:shrink-0
|
|
||||||
after:rounded-full after:bg-accent/60 after:content-['']"
|
|
||||||
>{title}</h2>
|
|
||||||
{:else}
|
{:else}
|
||||||
<span></span>
|
<span></span>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Reference in New Issue
Block a user