diff options
| author | Fuwn <[email protected]> | 2026-04-02 10:12:37 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-04-02 10:12:37 +0000 |
| commit | b3cbcf182a70c6db16364f765cb3d31a87c33916 (patch) | |
| tree | 3266525586431af715487f407e7c8ba9f8792d63 /src/lib | |
| parent | fix(ui): align media list title timings (diff) | |
| download | due.moe-b3cbcf182a70c6db16364f765cb3d31a87c33916.tar.xz due.moe-b3cbcf182a70c6db16364f765cb3d31a87c33916.zip | |
fix(ui): polish media list title separators
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/List/ListTitle.svelte | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/List/ListTitle.svelte b/src/lib/List/ListTitle.svelte index 915b0657..2e9181d0 100644 --- a/src/lib/List/ListTitle.svelte +++ b/src/lib/List/ListTitle.svelte @@ -24,6 +24,9 @@ export let hideCount = false; duration={Math.min(2500, Math.max(500, Math.abs(count - 0) * 10))} />{/if}{/if} --> {#if !hideTime && $settings.debugShowListTimings} + {#if !hideCount} + <span class="opaque list-title-separator">ยท</span> + {/if} <small class="opaque list-title-time">{time ? time.toFixed(3) : '...'}s</small> {/if} <slot /> @@ -37,6 +40,7 @@ export let hideCount = false; <style> .list-title-text, .list-title-count, + .list-title-separator, .list-title-time { vertical-align: middle; } @@ -44,4 +48,8 @@ export let hideCount = false; .list-title-count { font-weight: normal; } + + .list-title-separator { + font-weight: normal; + } </style> |