diff --git a/public/css/user/main.css b/public/css/user/main.css index 2f6862b..6aa393a 100644 --- a/public/css/user/main.css +++ b/public/css/user/main.css @@ -1195,18 +1195,36 @@ .date-item.disabled { } -/* --- BAGIAN KANAN: JAM --- */ .time-slot-container { - display: flex; - flex-direction: column; - gap: 8px; - max-height: 280px; - overflow-y: auto; - padding-right: 5px; + display: grid; + grid-template-rows: repeat(3, auto); + grid-auto-flow: column; + gap: 10px 8px; + overflow-x: auto; + padding-bottom: 12px; + -webkit-overflow-scrolling: touch; +} + +@media (min-width: 768px) { + .time-slot-container { + display: flex; + flex-direction: column; + grid-template-rows: none; + grid-auto-flow: row; + max-height: 350px; + overflow-y: auto; + overflow-x: hidden; + padding-bottom: 0; + } + + .btn-time { + width: 100%; + } } .time-slot-container::-webkit-scrollbar { width: 3px; + height: 3px; } .time-slot-container::-webkit-scrollbar-thumb { @@ -1215,6 +1233,7 @@ .time-slot-container::-webkit-scrollbar-thumb { } .btn-time { + flex: 0 0 auto; width: 90px; padding: 8px 4px; font-size: var(--body-font); diff --git a/resources/views/user/detail-foto.blade.php b/resources/views/user/detail-foto.blade.php index 16ad51a..04ead76 100644 --- a/resources/views/user/detail-foto.blade.php +++ b/resources/views/user/detail-foto.blade.php @@ -97,15 +97,12 @@ class="detailfoto-thumb rounded-4">
Jam Tersedia
-
+
@for ($hour = 9; $hour <= 20; $hour++) - {{-- Slot Jam Genap (contoh: 09:00) --}} - - {{-- Slot Jam Setengah (contoh: 09:30) --}}