fix: decreased rowHeight to 42

This commit is contained in:
Shariq Ansari 2025-07-15 12:07:19 +05:30
parent b77e59589a
commit 266952c404
2 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@
class="h-fit w-full" class="h-fit w-full"
:class="[editing ? 'mb-[20rem] !select-none' : '']" :class="[editing ? 'mb-[20rem] !select-none' : '']"
:cols="20" :cols="20"
:rowHeight="42"
:disabled="!editing" :disabled="!editing"
:modelValue="items.map((item) => item.layout)" :modelValue="items.map((item) => item.layout)"
@update:modelValue=" @update:modelValue="

View File

@ -2,7 +2,7 @@
<div class="h-full w-full"> <div class="h-full w-full">
<div <div
v-if="item.type == 'number_chart'" v-if="item.type == 'number_chart'"
class="rounded shadow overflow-hidden cursor-pointer" class="flex h-full w-full rounded shadow overflow-hidden cursor-pointer"
> >
<Tooltip :text="__(item.data.tooltip)"> <Tooltip :text="__(item.data.tooltip)">
<NumberChart v-if="item.data" :key="index" :config="item.data" /> <NumberChart v-if="item.data" :key="index" :config="item.data" />