mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 16:04:21 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user