Skip to content

Commit

Permalink
Merge pull request #2 from lara-zeus/fix-bug
Browse files Browse the repository at this point in the history
fix firefox bug
  • Loading branch information
atmonshi authored Feb 6, 2024
2 parents 4d730c5 + dd88580 commit 41c9890
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions resources/views/widgets/inline-chart.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class="px-2"
<canvas
x-ref="canvas"
@if ($maxHeight = $this->getMaxHeight())
style="width: {{ $maxWidth }}!important; max-height: {{ $maxHeight }}"
style="width: {{ $maxWidth }}!important; height: {{ $maxHeight }}!important;"
@endif
></canvas>

Expand Down Expand Up @@ -82,7 +82,11 @@ class="text-gray-200 dark:text-gray-800"
class="text-gray-500 dark:text-gray-400"
></span>

<p class="my-1 text-center tooltipElement text-sm text-gray-500 dark:text-gray-400"><br></p>
<p
@if ($maxHeight = $this->getMaxHeight())
style="width: {{ $maxWidth }}!important;"
@endif
class="my-1 text-center tooltipElement text-sm text-gray-500 dark:text-gray-400"><br></p>
</div>
</div>
</div>
Expand Down

0 comments on commit 41c9890

Please sign in to comment.