Minor layout changes

This commit is contained in:
2022-09-04 22:12:35 +02:00
parent d5c5c93fcd
commit 8b3232f349
3 changed files with 17 additions and 10 deletions

View File

@ -1,4 +1,4 @@
<div {{ $attributes->merge(['class' => "flex lg:flex-row flex-col m-auto max-w-5xl py-8 gap-x-10"]) }}>
<div {{ $attributes->merge(['class' => "flex md:flex-row flex-col m-auto max-w-5xl py-8 gap-x-10"]) }}>
<div class="lg:w-1/2 w-full flex p-4 align-middle items-center">
<div class="flex flex-col">
@isset ($title)
@ -7,6 +7,6 @@
<p class="text-lg">{{ $slot }}</p>
</div>
</div>
<div class="lg:w-1/2 w-full items-center align-middle rounded-lg" style='background-color: #EEE; background-position: {{ $yPosition ?? 'center' }} center; background-image: url("{{ $imgSrc ?? '' }}"); background-repeat: no-repeat; background-size: cover; min-height: 250px;'>
<div class="lg:w-1/2 w-full items-center align-middle rounded-lg shadow-lg" style='background-color: #EEE; background-position: {{ $yPosition ?? 'center' }} center; background-image: url("{{ $imgSrc ?? '' }}"); background-repeat: no-repeat; background-size: cover; min-height: 250px;'>
</div>
</div>