diff --git a/frontend/src/components/Flow/FlowDock.tsx b/frontend/src/components/Flow/FlowDock.tsx index 2aeca40..acee4c1 100644 --- a/frontend/src/components/Flow/FlowDock.tsx +++ b/frontend/src/components/Flow/FlowDock.tsx @@ -57,6 +57,8 @@ export const FIT_VIEW_PANEL = { const SHED = "md:@max-[27.5rem]:hidden" /** Hidden in a lane narrower than that shorter bar. */ const SHED_MORE = "md:@max-[21rem]:hidden" +/** Add node makes way for the step button in a lane short of both. */ +const MAKE_WAY = "md:@max-[29.75rem]:hidden" /** * The action bar, floating bottom-centre. Run is the one brand-secondary @@ -72,8 +74,11 @@ const SHED_MORE = "md:@max-[21rem]:hidden" * * Beside a panel it is measured against the lane it sits in, not the screen. * A lane too narrow for the editing bar (the issues badge and discard showing) - * sheds what a phone sheds, then the console. Below that the editor folds the - * sidebar away while the panel is open (`CRAMPED` in FlowEditor). + * sheds what a phone sheds, then the console. Step takes add node's place + * wherever the paused bar would not fit, and in the narrowest lane discard + * takes flow settings', so every bar at its shortest is as wide. Below that + * the editor folds the sidebar away while the panel is open (`CRAMPED` in + * FlowEditor). */ export function FlowDock({ flow, @@ -153,7 +158,10 @@ export function FlowDock({