fixed some warnings
This commit is contained in:
@@ -265,7 +265,7 @@
|
||||
</button>
|
||||
{/each}
|
||||
|
||||
<div class="flex-1" />
|
||||
<div class="flex-1"></div>
|
||||
|
||||
<div class="flex items-center gap-3 text-xs text-zinc-500">
|
||||
{#if hasDistance && chartType === 'line'}
|
||||
@@ -298,7 +298,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div bind:this={chartEl} class="w-full overflow-hidden" />
|
||||
<div bind:this={chartEl} class="w-full overflow-hidden"></div>
|
||||
|
||||
<!-- Histogram controls (range + bins) -->
|
||||
{#if chartType === 'histogram'}
|
||||
@@ -309,12 +309,12 @@
|
||||
<span class="w-8 text-right shrink-0">{Math.round(trimMin)}</span>
|
||||
<div class="relative flex-1" style="height:20px">
|
||||
<!-- Background track -->
|
||||
<div class="absolute left-0 right-0 top-1/2 -translate-y-1/2 h-1 bg-zinc-700 rounded-full pointer-events-none" />
|
||||
<div class="absolute left-0 right-0 top-1/2 -translate-y-1/2 h-1 bg-zinc-700 rounded-full pointer-events-none"></div>
|
||||
<!-- Active range fill -->
|
||||
<div
|
||||
class="absolute top-1/2 -translate-y-1/2 h-1 bg-zinc-400 rounded-full pointer-events-none"
|
||||
style="left:{leftPct}%; right:{rightPct}%"
|
||||
/>
|
||||
></div>
|
||||
<!-- Min handle -->
|
||||
<input
|
||||
type="range"
|
||||
|
||||
Reference in New Issue
Block a user