We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36b15d4 commit 2854c23Copy full SHA for 2854c23
resources/views/admin/seatingplans/show.blade.php
@@ -123,6 +123,8 @@ class="btn btn-primary">
123
<div class="seating-plan" style="
124
@if($plan->image_url)
125
background-image:url('{{ $plan->image_url }}');
126
+ background-size: contain;
127
+ background-repeat: no-repeat;
128
@endif
129
min-height: {{ ($seats->max('y') * 2) + 4 }}em;"
130
>
resources/views/seatingplans/_plan.blade.php
@@ -2,6 +2,8 @@
2
3
4
5
6
7
8
min-height: {{ (collect($seats[$plan->id] ?? [])->max('y') * 2) + 4 }}em;"
9
0 commit comments