diff --git a/src/app/components/CallControlBar.svelte b/src/app/components/CallControlBar.svelte index 63421aad..0475c280 100644 --- a/src/app/components/CallControlBar.svelte +++ b/src/app/components/CallControlBar.svelte @@ -39,12 +39,9 @@ type Props = { url: string h: string - // suppress the full in-call control row on desktop — used where a wider, - // unobstructed copy of it already floats over the video panel - hideConnectedOnDesktop?: boolean } - const {url, h, hideConnectedOnDesktop = false}: Props = $props() + const {url, h}: Props = $props() const roomStore = $derived($rooms.forRoom(url, h)) const room = $derived($roomStore) @@ -67,15 +64,7 @@ const chatUnread = $derived($notifications.has(roomPath)) const isChatPanelActive = $derived($videoCallLayout === VideoCallLayout.Split) - // With chat open, the floating bar shares the video pane with the sidebar rather - // than spanning the full width — a smaller bar reads as sized for that narrower - // space instead of just looking unchanged. Sized below mobile's max-md:h-9 (36px) - // since desktop is mouse-driven, not a touch target. max-md sizing itself is - // unaffected: mobile chat is a full-screen overlay, not a space-sharing sidebar. - const compactButtonClass = $derived( - cx("max-md:h-9 max-md:w-9", isChatPanelActive && "md:h-8 md:w-8"), - ) - const iconSize = $derived(isChatPanelActive ? 3.5 : 4.5) + const buttonClass = "button button-circle max-md:h-9 max-md:w-9" const onChatToggle = () => { videoCallLayout.update(p => @@ -86,15 +75,13 @@ {#if joiningHere || connectedHere || showJoin} + place instead of pushing/jumping past each other as flex siblings. -->