fix: 🐛 bad video display in our story blade for historical milestone
This commit is contained in:
parent
dc0aa78c1d
commit
ba5ef65515
2 changed files with 3 additions and 3 deletions
|
|
@ -196,7 +196,7 @@
|
|||
</div>
|
||||
<div class="col-7">
|
||||
<div @class([
|
||||
'bottom-left-shadow w-fit',
|
||||
'bottom-left-shadow w-100',
|
||||
$loop->iteration % 2 ? 'rotate-right' : 'rotate-left',
|
||||
])>
|
||||
@if (isset($historicalMilestoneModel->picto) && $historicalMilestoneModel->picto !== null)
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
@endif
|
||||
<div class="bottom-left-shadow">
|
||||
<div @class([
|
||||
'bg-white line-border-small w-100 h-fit mx-auto m-lg-0 p-2',
|
||||
'bg-white line-border-small w-100 mx-auto m-lg-0 p-2',
|
||||
'rotate-left' => isset($reversed) && $reversed,
|
||||
'rotate-right' => !isset($reversed),
|
||||
'h-100' => isset($video_id),
|
||||
|
|
@ -68,7 +68,7 @@
|
|||
</div>
|
||||
@endif
|
||||
|
||||
<div class="position-relative w-100 h-fit">
|
||||
<div class="position-relative w-100 h-100">
|
||||
@if (isset($video_id) && \App\Rules\IsValidYoutubeId::validates($video_id))
|
||||
@if (isset($isVideoModal) && isset($video_id) && \App\Rules\IsValidYoutubeId::validates($video_id))
|
||||
<div class="position-absolute z-1 w-100 h-100 start-0 top-0 bg-transparent" data-bs-toggle="modal"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue