2
0
mirror of https://github.com/frappe/books.git synced 2025-01-26 00:28:25 +00:00

fix(ui): dashboard vertical alignment

This commit is contained in:
18alantom 2022-01-26 12:22:38 +05:30
parent da9839e8b6
commit eb9046bcf2
2 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="mt-4 mx-4"> <div class="mx-4 -mb-14">
<template v-if="hasData"> <template v-if="hasData">
<div class="flex items-center justify-between"> <div class="flex items-center justify-between">
<div class="font-medium">{{ t('Cashflow') }}</div> <div class="font-medium">{{ t('Cashflow') }}</div>
@ -20,7 +20,7 @@
<svg <svg
v-else v-else
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 889 240" viewBox="0 0 889 300"
class="my-4" class="my-4"
> >
<defs> <defs>
@ -131,7 +131,7 @@ export default {
title: '', title: '',
type: 'line', type: 'line',
animate: false, animate: false,
height: 240, height: 300,
colors: ['#2490EF', '#B7BFC6'], colors: ['#2490EF', '#B7BFC6'],
axisOptions: { axisOptions: {
xAxisMode: 'tick', xAxisMode: 'tick',

View File

@ -8,11 +8,11 @@
</PageHeader> </PageHeader>
<div class="mx-4"> <div class="mx-4">
<div class="border-t" /> <div class="border-t" />
<Cashflow /> <Cashflow class="mt-6"/>
<div class="my-4 mt-0 border-t" /> <div class="border-t mt-10" />
<UnpaidInvoices /> <UnpaidInvoices class="mt-10"/>
<div class="my-4 border-t" /> <div class="border-t mt-10" />
<div class="flex justify-between mx-auto"> <div class="flex justify-between mx-auto mt-10">
<div class="w-1/2 mx-4"> <div class="w-1/2 mx-4">
<ProfitAndLoss /> <ProfitAndLoss />
</div> </div>