Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(mobile): broken drawers (#5779)

Peter Chinmane9c6debace62
diff --git a/apps/web/src/components/app/split-layout/components/SplitFileMenu.tsx b/apps/web/src/components/app/split-layout/components/SplitFileMenu.tsx
index 7a3c0cb7ae..a1e5e438af 100644
--- a/apps/web/src/components/app/split-layout/components/SplitFileMenu.tsx
+++ b/apps/web/src/components/app/split-layout/components/SplitFileMenu.tsx
@@ -278,7 +278,7 @@ function MobileRender(
<MobileDrawer.Handle />
{/* Scrolls when the sections outgrow the drawer's max height; the
handle stays pinned so drag-to-dismiss remains reachable. */}
- <div class="flex flex-col min-h-0 flex-1 overflow-y-auto">
+ <div class="flex flex-col min-h-0 flex-auto overflow-y-auto">
<Show when={props.views}>
{(views) => (
<>
diff --git a/apps/web/src/features/block-calendar/components/SelectedEventDetails.tsx b/apps/web/src/features/block-calendar/components/SelectedEventDetails.tsx
index cd930185bc..b3bf398531 100644
--- a/apps/web/src/features/block-calendar/components/SelectedEventDetails.tsx
+++ b/apps/web/src/features/block-calendar/components/SelectedEventDetails.tsx
@@ -193,7 +193,7 @@ function EventDetailsDrawer(props: EventDetailsOverlayProps) {
</Show>
</div>
</div>
- <div class="flex min-h-0 flex-1 flex-col overflow-y-auto">
+ <div class="flex min-h-0 flex-auto flex-col overflow-y-auto">
<div class="px-3">
<EventDetails
event={props.event}
diff --git a/apps/web/src/features/next-soup/soup-view/SoupEntityActionDrawer.tsx b/apps/web/src/features/next-soup/soup-view/SoupEntityActionDrawer.tsx
index e989f20d67..b8bb11dd8a 100644
--- a/apps/web/src/features/next-soup/soup-view/SoupEntityActionDrawer.tsx
+++ b/apps/web/src/features/next-soup/soup-view/SoupEntityActionDrawer.tsx
@@ -65,7 +65,7 @@ export function SoupEntityActionDrawer() {
{/* Action groups. Scrolls when the groups outgrow the drawer's max
height; the handle and entity preview stay pinned. */}
- <div class="flex flex-col min-h-0 flex-1 overflow-y-auto">
+ <div class="flex flex-col min-h-0 flex-auto overflow-y-auto">
<For each={groups()}>
{(group, groupIndex) => (
<>