2
0
mirror of https://github.com/frappe/books.git synced 2024-11-14 09:24:04 +00:00

fix(ui): allow y scroll, donut hover

This commit is contained in:
18alantom 2022-02-02 16:05:58 +05:30
parent 22ad26f488
commit a01d3c7ad4
3 changed files with 5 additions and 5 deletions

View File

@ -55,10 +55,10 @@
</template> </template>
</svg> </svg>
<div <div
class="relative" class="absolute"
:style="{ :style="{
top: `-50%`, top: `50%`,
transform: `translate(${textOffsetX}px, ${textOffsetY}px)`, transform: `translate(calc(50% - ${textOffsetX}px), calc(${textOffsetY}px - 50%))`,
}" }"
> >
<div class="text-center font-semibold grid justify-center"> <div class="text-center font-semibold grid justify-center">

View File

@ -7,7 +7,7 @@
</template> </template>
</PageHeader> </PageHeader>
<hr class="border-t mx-4" /> <hr class="border-t mx-4" />
<div class="mx-4 overflow-y-hidden"> <div class="mx-4 overflow-y-scroll no-scrollbar">
<Cashflow class="mt-5" /> <Cashflow class="mt-5" />
<hr class="border-t mt-10" /> <hr class="border-t mt-10" />
<UnpaidInvoices class="mt-10 ml-4 mr-4" /> <UnpaidInvoices class="mt-10 ml-4 mr-4" />

View File

@ -32,7 +32,7 @@
:sectors="sectors" :sectors="sectors"
:offset-x="3" :offset-x="3"
:thickness="11.5" :thickness="11.5"
:text-offset-x="6.5" :text-offset-x="14"
:value-formatter="(value) => frappe.format(value, 'Currency')" :value-formatter="(value) => frappe.format(value, 'Currency')"
:total-label="t('Total Spending')" :total-label="t('Total Spending')"
@change="(value) => (active = value)" @change="(value) => (active = value)"