Grow the editor's canvas to reach widgets below its edge
A widget that fell off the panel, after the canvas was made smaller, was drawn under the clip and could only be re-packed with Reflow. Editing, the canvas now extends to the lowest widget and scrolls, with the panel's own edge dashed and the area past it hatched, so the widget can be dragged back. The scale stays the panel's, and view mode is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WgBfkm4rCmtd1T4vHWjEPx
This commit is contained in:
@@ -19,6 +19,21 @@
|
||||
background-position: -1px -1px;
|
||||
}
|
||||
|
||||
/*
|
||||
* Below the panel's bottom edge, while the editor has grown the canvas to
|
||||
* reach widgets that fell off it: hatched, under a dashed line where the panel
|
||||
* ends, so what it will not show reads as outside it.
|
||||
*/
|
||||
.canvas-beyond {
|
||||
border-top: 3px dashed
|
||||
color-mix(in srgb, var(--muted-foreground) 70%, transparent);
|
||||
background: repeating-linear-gradient(
|
||||
-45deg,
|
||||
color-mix(in srgb, var(--muted-foreground) 14%, transparent) 0 3px,
|
||||
transparent 3px 16px
|
||||
);
|
||||
}
|
||||
|
||||
/*
|
||||
* View mode's grid. Column count is per dashboard (`--widget-cols`), so a wall
|
||||
* panel can be matched to its own width. It does not reflow: the grid lives on
|
||||
|
||||
Reference in New Issue
Block a user