Fix empty space below backup chart by matching container and SVG heights
The chart container was set to min-h-[12rem] (192px) on desktop while the SVG was hardcoded to 128px, creating 64px of unwanted empty space. Changed container to fixed h-32 (128px) to match the SVG height.
This commit is contained in:
parent
615cb129df
commit
40abcd1237
1 changed files with 1 additions and 1 deletions
|
|
@ -1411,7 +1411,7 @@ const UnifiedBackups: Component = () => {
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative min-h-[8rem] sm:min-h-[12rem] bg-gray-100 dark:bg-gray-800 rounded overflow-hidden">
|
||||
<div class="relative h-32 bg-gray-100 dark:bg-gray-800 rounded overflow-hidden">
|
||||
<Show
|
||||
when={chartData().data.length > 0}
|
||||
fallback={
|
||||
|
|
|
|||
Loading…
Reference in a new issue