2
0
mirror of https://github.com/frappe/books.git synced 2024-12-24 11:55:46 +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>
<div class="mt-4 mx-4">
<div class="mx-4 -mb-14">
<template v-if="hasData">
<div class="flex items-center justify-between">
<div class="font-medium">{{ t('Cashflow') }}</div>
@ -20,7 +20,7 @@
<svg
v-else
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 889 240"
viewBox="0 0 889 300"
class="my-4"
>
<defs>
@ -131,7 +131,7 @@ export default {
title: '',
type: 'line',
animate: false,
height: 240,
height: 300,
colors: ['#2490EF', '#B7BFC6'],
axisOptions: {
xAxisMode: 'tick',

View File

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