strip more seamless and margin improvements

This commit is contained in:
Vincent van der Wal
2026-08-01 11:38:02 +02:00
parent 99c1a89537
commit a0379a1fd6
13 changed files with 706 additions and 188 deletions
@@ -300,8 +300,9 @@
? 'border-t border-border/50'
: 'lg:pt-4'} {i === renderPanels.length - 1 ? 'pb-1 lg:pb-4' : ''}"
>
<div class="mb-0 flex items-center justify-between px-3 lg:mb-0.5 lg:px-0">
<h4 class="truncate text-xs font-bold tracking-wide text-muted-foreground uppercase">
<!-- same title treatment as the compare / 14-day pages -->
<div class="mb-1 flex items-center justify-between px-3 lg:px-0">
<h4 class="truncate text-sm font-bold tracking-tight">
<span class="hidden lg:inline">{panel.title}</span>
<span class="lg:hidden">{panel.titleShort}</span>
</h4>
@@ -327,6 +328,8 @@
unit={panel.def.unit}
unitRight={panel.def.unitRight}
yMin={panel.def.yMin}
yPadTop={panel.def.yPadTop}
yPadBottom={panel.def.yPadBottom}
zeroBaseLeft={panel.def.zeroBaseLeft}
yMinRight={panel.def.yMinRight}
yMaxRight={panel.def.yMaxRight}