From 152c0e6625f35a80d78e53a7d69203b975590165 Mon Sep 17 00:00:00 2001 From: isaacclad Date: Sat, 4 Jul 2026 03:20:07 +0000 Subject: [PATCH] Show full restart labels on mobile and scroll btn-groups horizontally. Remove icon-only restart buttons on webinar and conference pages; btn-group now carousels on narrow screens when actions overflow. Co-authored-by: Cursor --- resources/css/app.css | 26 ++++++++++++++++++- .../views/meet/conferences/show.blade.php | 25 +++++------------- resources/views/meet/webinars/show.blade.php | 21 +++------------ 3 files changed, 35 insertions(+), 37 deletions(-) diff --git a/resources/css/app.css b/resources/css/app.css index dafdcd2..57cfd06 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -819,9 +819,33 @@ html.qr-mobile-page body { .btn-group { display: flex; - flex-wrap: wrap; + flex-wrap: nowrap; align-items: center; gap: 0.5rem; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + scroll-snap-type: x mandatory; + scrollbar-width: none; + -ms-overflow-style: none; + padding-bottom: 0.125rem; + } + + .btn-group::-webkit-scrollbar { + display: none; + } + + .btn-group > * { + flex-shrink: 0; + scroll-snap-align: start; + } + + @media (min-width: 640px) { + .btn-group { + flex-wrap: wrap; + overflow-x: visible; + scroll-snap-type: none; + padding-bottom: 0; + } } .btn-fab { diff --git a/resources/views/meet/conferences/show.blade.php b/resources/views/meet/conferences/show.blade.php index 3d55f92..0ca82fa 100644 --- a/resources/views/meet/conferences/show.blade.php +++ b/resources/views/meet/conferences/show.blade.php @@ -1,7 +1,4 @@ - @php - $conferenceRestarting = $room->status === 'ended' || $room->sessions->isNotEmpty(); - @endphp

Conference

@@ -26,33 +23,23 @@
@if ($room->status === 'live' && $room->activeSession()) - Join conference + Join conference @elseif ($room->status === 'scheduled')
@csrf - +
@elseif ($room->canRestart())
@csrf -
@endif - Download iCal + Download iCal @if ($room->sessions->isNotEmpty()) - Attendance CSV + Attendance CSV @endif
diff --git a/resources/views/meet/webinars/show.blade.php b/resources/views/meet/webinars/show.blade.php index e503bc5..f4692ce 100644 --- a/resources/views/meet/webinars/show.blade.php +++ b/resources/views/meet/webinars/show.blade.php @@ -1,7 +1,4 @@ - @php - $webinarRestarting = $room->status === 'ended' || $room->sessions->isNotEmpty(); - @endphp

Webinar

@@ -32,24 +29,14 @@ @if ($room->canRestart())
@csrf -
@endif - Download iCal + Download iCal @if ($room->sessions->isNotEmpty()) - Attendance CSV + Attendance CSV @endif