fix(editor): one focus marker on every handle, proven on an SVG vertex

This commit is contained in:
bchanot committed 2026-11-19 12:32:27 +01:00
1 parent 399a5adae6
commit e341f03390
5 files changed
+57 -11

No files matched your search

+2 -2
View File
@@ -230,8 +230,8 @@ The edit strip (U2 Task 14) stays under the shell's top bar from 1 024 px: it is
drawing, under the loupe, the menus, the bar and the dialogs), and no ancestor sets an
`overflow` other than visible. The bar's height (3.5 rem plus the safe-area inset) and the
strip's (`--edit-strip-height`) are CSS variables of `styles/index.css`, which also feed a
`scroll-margin-top` on the drawing place's focus targets (rows, vertex and point handles, the
canvas box), from 1 024 px and only while the place is not `hidden`, so a focus or a
`scroll-margin-top` on the drawing place's focus targets (rows, every focusable handle through
`data-focus-target`, the canvas box), from 1 024 px and only while the place is not `hidden`, so a focus or a
`scrollIntoView` never lands under either. It is a margin, not a page `scroll-padding`: the
padding made the page jump when the focus went to the sticky bar or strip themselves.
Below 1 024 px the strip is not sticky.