From 9b4eab4848028ebdad3afa87ba8008d8421bb4c8 Mon Sep 17 00:00:00 2001 From: isaacclad Date: Wed, 1 Jul 2026 14:27:19 +0000 Subject: [PATCH] Simplify mobile meeting toolbar into primary actions and More menu. Show mic, camera, share, and More on mobile with Leave/End after a divider, and move reactions, chat, and hand-raise into the More panel on small screens. Co-authored-by: Cursor --- resources/css/app.css | 58 ++++------ resources/views/meet/room/show.blade.php | 135 ++++++++++++++--------- 2 files changed, 101 insertions(+), 92 deletions(-) diff --git a/resources/css/app.css b/resources/css/app.css index 2807d77..c637f93 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -28,55 +28,37 @@ margin-left: auto; } -/* Meeting room footer: horizontal carousel on mobile */ +/* Meeting room footer */ @media (max-width: 639px) { - .meet-toolbar { - position: relative; - overflow: hidden; - } - - .meet-toolbar::before, - .meet-toolbar::after { - content: ''; - position: absolute; - top: 0; - bottom: 0; - z-index: 1; - width: 1.25rem; - pointer-events: none; - } - - .meet-toolbar::before { - left: 0; - background: linear-gradient(to right, rgb(2 6 23), transparent); - } - - .meet-toolbar::after { - right: 0; - background: linear-gradient(to left, rgb(2 6 23), transparent); - } - .meet-toolbar__track { display: flex; - flex-wrap: nowrap; align-items: center; - gap: 0.5rem; - overflow-x: auto; - overscroll-behavior-x: contain; - -webkit-overflow-scrolling: touch; - scroll-snap-type: x proximity; - scrollbar-width: none; + justify-content: space-between; + gap: 0.75rem; padding-inline: 1rem; padding-bottom: max(0.25rem, env(safe-area-inset-bottom, 0px)); } - .meet-toolbar__track::-webkit-scrollbar { - display: none; + .meet-toolbar__primary { + display: flex; + min-width: 0; + flex: 1; + align-items: center; + gap: 0.5rem; } - .meet-toolbar__track > * { + .meet-toolbar__divider { + width: 1px; + height: 2rem; flex-shrink: 0; - scroll-snap-align: center; + background-color: rgb(51 65 85); + } + + .meet-toolbar__actions { + display: flex; + flex-shrink: 0; + align-items: center; + gap: 0.5rem; } } diff --git a/resources/views/meet/room/show.blade.php b/resources/views/meet/room/show.blade.php index 17953ed..61ab57f 100644 --- a/resources/views/meet/room/show.blade.php +++ b/resources/views/meet/room/show.blade.php @@ -182,60 +182,75 @@