fix(host): review round 3 — card-scope escape/focus-leave cancel, pick refocus; record display-policy trade-offs

This commit is contained in:
creatixchu
2026-07-29 15:10:35 +08:00
parent 27053efffc
commit 355d505b89
9 changed files with 244 additions and 176 deletions
@@ -155,7 +155,8 @@
flex: 1 1 0;
min-width: 256px;
overflow-y: auto;
/* The overlay scrollbar paints at the column's edge; keep the row pills
/* The themed scrollbar occupies the column's edge (styled scrollbars are
* classic, gutter-taking ones); the extra clearance keeps the row pills
* clear of the thumb. */
padding-right: 8px;
}
@@ -283,6 +284,13 @@
color: var(--dsw-alias-label-primary);
}
/* Card-scope wrapper hosting the path editor's Escape and focus-leave
* observers; display:contents keeps header/content/footer as direct flex
* children of the Modal card. */
.editorScope {
display: contents;
}
.footerGap {
flex: 1 1 0;
}