diff --git a/apps/docs/docs/management/boards/index.mdx b/apps/docs/docs/management/boards/index.mdx index 85a89001a..956e73825 100644 --- a/apps/docs/docs/management/boards/index.mdx +++ b/apps/docs/docs/management/boards/index.mdx @@ -181,7 +181,7 @@ Widgets expose their routine controls without requiring edit mode: - Hold `Shift` while hovering a widget that supports advanced view to expand it in place while the other widgets remain visible but dimmed. Release `Shift` to close it. Focus that widget and press `Shift` + `Enter` to keep the view - open until you close it, or use the maximize control on touch devices. Other widgets adapt in place instead. + open until you close it. On touch devices, open it from the widget menu. Other widgets adapt in place instead. - Right-click a widget to inspect its live query status, refresh its data, change quick options, open settings, or run supported actions. Available controls follow your board and integration permissions. - If you can modify the board, right-click or touch and hold an empty grid cell to add an item there. Focus a board diff --git a/apps/docs/src/components/widgets/interactions.tsx b/apps/docs/src/components/widgets/interactions.tsx index b0c08e51c..86aeb5451 100644 --- a/apps/docs/src/components/widgets/interactions.tsx +++ b/apps/docs/src/components/widgets/interactions.tsx @@ -54,7 +54,7 @@ export const WidgetInteractionGuide = ({ advancedView = true }: { advancedView?: {advancedView && (
Advanced view reuses the widget's live data and cache. The rest of the board stays visible but dimmed. - Touch devices expose a maximize control; compact-only widgets adapt in place instead. + On touch devices, use the widget menu; compact-only widgets adapt in place instead.
)} diff --git a/apps/nextjs/src/components/board/advanced-focus/advanced-focus.module.css b/apps/nextjs/src/components/board/advanced-focus/advanced-focus.module.css index a16e2ba12..388212e33 100644 --- a/apps/nextjs/src/components/board/advanced-focus/advanced-focus.module.css +++ b/apps/nextjs/src/components/board/advanced-focus/advanced-focus.module.css @@ -76,34 +76,12 @@ pointer-events: none; } -.surfaceControls { - position: absolute; - inset: 0; - z-index: 2; - pointer-events: none; -} - .closeButton { position: absolute; z-index: 2; pointer-events: auto; } -.touchButton { - position: absolute; - right: 8px; - bottom: 8px; - z-index: 2; - display: none; - pointer-events: auto; -} - -@media (any-pointer: coarse) { - .touchButton { - display: inline-flex; - } -} - @keyframes focus-backdrop-in { from { opacity: 0; diff --git a/apps/nextjs/src/components/board/advanced-focus/context.tsx b/apps/nextjs/src/components/board/advanced-focus/context.tsx index 39143a2a8..d034b9c36 100644 --- a/apps/nextjs/src/components/board/advanced-focus/context.tsx +++ b/apps/nextjs/src/components/board/advanced-focus/context.tsx @@ -37,6 +37,8 @@ interface AdvancedFocusContextValue { const AdvancedFocusContext = createContext