2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 11:29:03 +00:00

fix(ui): empty state svg alignment

This commit is contained in:
18alantom 2021-12-07 10:52:22 +05:30
parent 2d2bf55cf3
commit 1d0db3579a

View File

@ -1,5 +1,5 @@
<template>
<div class="mt-4">
<div class="mt-4 mx-4">
<template v-if="hasData">
<div class="flex items-center justify-between">
<div class="font-medium">{{ _('Cashflow') }}</div>
@ -21,7 +21,7 @@
v-else
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 889 240"
class="w-10/12 h-5/6 ml-4 mr-4 my-2"
class="my-4"
>
<defs>
<linearGradient x1="50%" y1="100%" x2="50%" y2=".889%" id="a">
@ -131,6 +131,7 @@ export default {
title: '',
type: 'line',
animate: false,
height: 240,
colors: ['#2490EF', '#B7BFC6'],
axisOptions: {
xAxisMode: 'tick',