mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 15:07:49 +00:00
fix(#76): rotate back preview image
Some checks are pending
tests / ci (push) Waiting to run
Some checks are pending
tests / ci (push) Waiting to run
This commit is contained in:
parent
0503be65c2
commit
a88e72b75e
4 changed files with 96 additions and 2 deletions
|
|
@ -95,7 +95,11 @@ new class extends Component {
|
|||
</flux:callout>
|
||||
@elseif($current_image_path)
|
||||
<flux:separator class="mt-2 mb-4"/>
|
||||
<img src="{{ asset($current_image_path) }}" class="max-h-[480px]" alt="Current Image"/>
|
||||
<div class="flex justify-center">
|
||||
<div class="relative origin-center -rotate-[{{ $device->rotate ?? 0 }}deg]">
|
||||
<img src="{{ asset($current_image_path) }}" class="max-h-[480px]" alt="Current Image"/>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue