farhan 4 kuukautta sitten
vanhempi
commit
b87f5ba905

+ 2
- 2
resources/views/components/front-cover.blade.php Näytä tiedosto

@@ -1,4 +1,4 @@
1
-<div class="part left fixed left-0 w-1/2 h-screen bg-babyblue shadow-lg z-10 snap-start">
1
+<div class="part left fixed left-0 w-1/2 h-screen bg-babyblue shadow-lg z-10 snap-start" style="scroll-snap-align: start;">
2 2
     <div class="flex flex-col justify-center h-full gap-10">
3 3
         <div class="flex justify-end items-center">
4 4
             <img src="{{ asset('assets/logo-left.png') }}" alt="Logo" class="logo-img">
@@ -9,7 +9,7 @@
9 9
         <img src="{{asset('assets/flower-left.png')}}" alt="" class="absolute -left-2/4 top-72 h-96 w-96">
10 10
     </div>
11 11
 </div>
12
-<div class="part right fixed right-0 w-1/2 h-screen bg-babyblue shadow-lg z-10 snap-start">
12
+<div class="part right fixed right-0 w-1/2 h-screen bg-babyblue shadow-lg z-10 snap-start" style="scroll-snap-align: start;">
13 13
     <div class="flex flex-col justify-center h-full gap-10">
14 14
         <div class="flex justify-start items-center">
15 15
             <img src="{{ asset('assets/logo-right.png') }}" alt="Logo" class="logo-img">

+ 1
- 1
resources/views/digital-card.blade.php Näytä tiedosto

@@ -24,7 +24,7 @@
24 24
         <audio id="player" loop>
25 25
             <source src="{{ asset('assets/background-musicv2.mp3') }}" type="audio/mp3">
26 26
         </audio>
27
-        <div class="parent absolute h-screen w-screen snap-mandatory">
27
+        <div class="parent absolute h-screen w-screen snap-mandatory overflow-y-scroll">
28 28
             @include('components.front-cover')
29 29
         </div>
30 30
         <div class="section bg-babyblue min-h-screen flex justify-center items-center pb-20">

Loading…
Peruuta
Tallenna