Skip to content

Commit

Permalink
Summary style and position fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mervekaraman committed Dec 1, 2023
1 parent 8dc76b7 commit 1582d02
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions resources/views/widgets/cash_flow.blade.php
Expand Up @@ -6,19 +6,19 @@
{!! $chart->container() !!}
</div>

<div class="w-full lg:w-1/12 flex flex-row lg:flex-col items-center justify-around sm:justify-start lg:mt-11 space-y-0 sm:space-y-2">
<div class="w-full lg:w-1/12 flex flex-row lg:flex-col items-center justify-start sm:justify-center lg:mt-11 space-y-0 sm:space-y-2">
<div class="relative w-32 lg:w-auto flex flex-col items-center sm:justify-between text-center">
<div class="flex justify-end lg:block text-lg">
<x-tooltip id="tooltip-cashflow-incoming" placement="top" message="{{ $totals['incoming_exact'] }}">
{{ $totals['incoming_for_humans'] }}
</x-tooltip>
</div>

<span class="text-green text-xs hidden lg:block">
<span class="text-green text-xs lg:block">
{{ trans('general.incoming') }}
</span>

<span class="absolute lg:relative hidden lg:block material-icons mt-2 -right-12 lg:right-0">remove</span>
<span class="absolute lg:relative lg:block material-icons mt-2 -right-4 lg:right-0">remove</span>
</div>

<div class="relative w-32 lg:w-auto flex flex-col items-center sm:justify-between">
Expand All @@ -28,11 +28,11 @@
</x-tooltip>
</div>

<span class="text-rose text-xs hidden lg:block">
<span class="text-rose text-xs lg:block">
{{ trans('general.outgoing') }}
</span>

<span class="absolute lg:relative hidden lg:block material-icons mt-2 -right-12 lg:right-0">drag_handle</span>
<span class="absolute lg:relative lg:block material-icons mt-2 -right-4 lg:right-0">drag_handle</span>
</div>

<div class="relative w-32 lg:w-auto flex flex-col items-center sm:justify-between">
Expand All @@ -42,7 +42,7 @@
</x-tooltip>
</div>

<span class="text-purple text-xs hidden lg:block">{{ trans_choice('general.profits', 1) }}</span>
<span class="text-purple text-xs lg:block">{{ trans_choice('general.profits', 1) }}</span>
</div>
</div>
</div>
Expand Down

0 comments on commit 1582d02

Please sign in to comment.