fix(run): integrate the Run Anything command field into the popup (#5111)

The Run Anything command field now sits directly on the popup surface. A single inset divider shows keyboard focus. The command row is 14 px shorter, giving the scrollable results the extra space in short windows.
This commit is contained in:
l0ng-ai
2026-11-22 11:29:49 +08:00
committed by GitHub
parent aad0573fb9
commit f8ec222a0d
3 changed files with 18 additions and 1 deletions
@@ -49,7 +49,15 @@
}
.query {
flex: none;
padding: var(--space-2);
margin-inline: var(--space-3);
border-bottom: 1px solid var(--border-popup);
}
.query:focus-within {
border-bottom-color: var(--focus-ring);
}
.query .commandField {
min-height: 29px;
padding-inline: var(--space-0-5);
}
.rows {
flex: 1 1 auto;
@@ -144,6 +144,8 @@ function RunAnythingPopup({ root }: { root: string }) {
ref={field}
data-autofocus
leadingIcon="run-anything"
variant="bare"
className={styles.commandField}
clearable={false}
role="combobox"
aria-autocomplete="list"