From 1b5ad4a1313dadce67ef445320865a0eafbde009 Mon Sep 17 00:00:00 2001 From: Francisco Gaona Date: Tue, 13 Jan 2026 19:22:58 +0100 Subject: [PATCH] WIP - bottom drawer width fix --- frontend/app.vue | 2 -- frontend/components/BottomDrawer.vue | 12 +++++++- frontend/layouts/default.vue | 45 ++++++++++++++++++++++++++-- 3 files changed, 53 insertions(+), 6 deletions(-) diff --git a/frontend/app.vue b/frontend/app.vue index a1afb46..7f8da09 100644 --- a/frontend/app.vue +++ b/frontend/app.vue @@ -1,13 +1,11 @@ diff --git a/frontend/components/BottomDrawer.vue b/frontend/components/BottomDrawer.vue index af1720f..f678c29 100644 --- a/frontend/components/BottomDrawer.vue +++ b/frontend/components/BottomDrawer.vue @@ -11,6 +11,9 @@ import { useSoftphone } from '~/composables/useSoftphone' const isDrawerOpen = useState('bottomDrawerOpen', () => false) const activeTab = useState('bottomDrawerTab', () => 'softphone') const drawerHeight = useState('bottomDrawerHeight', () => 240) +const props = defineProps<{ + bounds?: { left: number; width: number } +}>() const softphone = useSoftphone() @@ -190,7 +193,14 @@ onBeforeUnmount(() => {