diff --git a/public/css/app.css b/public/css/app.css index 9d5d2828f..e61bbca06 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -47162,6 +47162,18 @@ html[dir='rtl'] .el-scrollbar__wrap { .el-range-editor.el-input__inner { width: 100%; } + /* apex-chart cash-flow */ + .apex-chart-cash-flow .apexcharts-legend { + width: 24rem !important; + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + padding: 0; + } + + .apex-chart-cash-flow .apexcharts-toolbar { + top: 45px !important; + } + /* apex-chart cash-flow */ } /* element-ui */ @@ -49918,6 +49930,14 @@ body{ position: absolute; } + .lg\:relative{ + position: relative; + } + + .lg\:right-0{ + right: 0px; + } + .lg\:right-24{ right: 6rem; } @@ -49948,6 +49968,10 @@ body{ margin-top: 1rem; } + .lg\:mt-11{ + margin-top: 2.75rem; + } + .lg\:mt-60{ margin-top: 15rem; } @@ -50158,6 +50182,11 @@ body{ justify-content: center; } + .lg\:justify-around{ + -ms-flex-pack: distribute; + justify-content: space-around; + } + .lg\:gap-16{ gap: 4rem; } diff --git a/resources/assets/sass/app.css b/resources/assets/sass/app.css index 97c9b1402..3bf9cfd89 100644 --- a/resources/assets/sass/app.css +++ b/resources/assets/sass/app.css @@ -459,6 +459,17 @@ html[dir='rtl'] .el-scrollbar__wrap { .el-range-editor.el-input__inner { width: 100%; } + /* apex-chart cash-flow */ + .apex-chart-cash-flow .apexcharts-legend { + width: 24rem !important; + justify-content: space-around !important; + padding: 0; + } + + .apex-chart-cash-flow .apexcharts-toolbar { + top: 45px !important; + } + /* apex-chart cash-flow */ } /* element-ui */ diff --git a/resources/views/widgets/cash_flow.blade.php b/resources/views/widgets/cash_flow.blade.php index aea334ad5..80c4e0791 100644 --- a/resources/views/widgets/cash_flow.blade.php +++ b/resources/views/widgets/cash_flow.blade.php @@ -1,48 +1,48 @@
@include($class->views['header'], ['header_class' => '']) -
-
+
+
{!! $chart->container() !!}
-
-
+
+
{{ $totals['incoming_for_humans'] }}
- + - remove + remove
-
+
{{ $totals['outgoing_for_humans'] }}
- + - drag_handle + drag_handle
-
+
{{ $totals['profit_for_humans'] }}
- {{ trans_choice('general.profits', 1) }} +
diff --git a/safelist.txt b/safelist.txt index d667e08b7..ff45c7678 100644 --- a/safelist.txt +++ b/safelist.txt @@ -5,5 +5,9 @@ lg:my-12 lg:mt-4 lg:pl-6 lg:w-9 +lg:mt-11 +lg:relative +lg:right-0 +lg:justify-around ltr:-right-1.5 rtl:-left-1.5 \ No newline at end of file