mirror of https://github.com/kcal-app/kcal.git
Only used fixed/cover on md+
This commit is contained in:
parent
e1d6da89ad
commit
97b9fb4fb2
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
<!-- Page Content -->
|
||||
@isset($bg_image)
|
||||
<main class="bg-contain bg-no-repeat bg-top bg-clip-border sm:bg-cover sm:bg-fixed" style="background-image: url('{{ $bg_image }}')">
|
||||
<main class="bg-contain bg-no-repeat bg-top bg-clip-border md:bg-cover md:bg-fixed" style="background-image: url('{{ $bg_image }}')">
|
||||
@else
|
||||
<main>
|
||||
@endisset
|
||||
|
|
@ -56,7 +56,7 @@
|
|||
@endif
|
||||
|
||||
<div class="{{ isset($bg_image) ? 'pt-32' : 'pt-6' }} max-w-7xl mx-auto sm:px-6 lg:px-8">
|
||||
<div class="bg-white {{ isset($bg_image) ? 'sm:bg-opacity-95' : '' }} overflow-hidden shadow-sm sm:rounded-lg">
|
||||
<div class="bg-white {{ isset($bg_image) ? 'md:bg-opacity-95' : '' }} overflow-hidden shadow-sm sm:rounded-lg">
|
||||
<article class="p-6 border-b border-gray-200">
|
||||
{{ $slot }}
|
||||
</article>
|
||||
|
|
|
|||
Loading…
Reference in New Issue