mirror of
https://github.com/frappe/books.git
synced 2025-01-11 10:38:14 +00:00
fix(ui): empty state svg alignment
This commit is contained in:
parent
2d2bf55cf3
commit
1d0db3579a
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="mt-4">
|
<div class="mt-4 mx-4">
|
||||||
<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">{{ _('Cashflow') }}</div>
|
<div class="font-medium">{{ _('Cashflow') }}</div>
|
||||||
@ -21,7 +21,7 @@
|
|||||||
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 240"
|
||||||
class="w-10/12 h-5/6 ml-4 mr-4 my-2"
|
class="my-4"
|
||||||
>
|
>
|
||||||
<defs>
|
<defs>
|
||||||
<linearGradient x1="50%" y1="100%" x2="50%" y2=".889%" id="a">
|
<linearGradient x1="50%" y1="100%" x2="50%" y2=".889%" id="a">
|
||||||
@ -131,6 +131,7 @@ export default {
|
|||||||
title: '',
|
title: '',
|
||||||
type: 'line',
|
type: 'line',
|
||||||
animate: false,
|
animate: false,
|
||||||
|
height: 240,
|
||||||
colors: ['#2490EF', '#B7BFC6'],
|
colors: ['#2490EF', '#B7BFC6'],
|
||||||
axisOptions: {
|
axisOptions: {
|
||||||
xAxisMode: 'tick',
|
xAxisMode: 'tick',
|
||||||
|
Loading…
Reference in New Issue
Block a user