Файли
openidea/src/ui/ConsoleFindBar.module.css
T
l0ng-ai 718e07c831 fix(console): 16px toolbar icons and a two-row find bar in narrow panels (#2387)
Run and Debug console toolbars used 13/14px icon overrides, which made the controls too small; they now use the standard 16px icons, with a Scroll to End icon. The shared single-row console find bar overflowed narrow panels (Close ended up past the right edge); at 360px and below it now wraps to two rows, across Run, Debug, Services and stack traces.
2026-11-10 03:25:53 +08:00

48 рядки
837 B
CSS

/* Find bar (⌘F) of the Run and Debug consoles. */
.container {
container: console-find / inline-size;
flex: none;
min-width: 0;
}
.find {
flex: none;
display: flex;
align-items: center;
gap: 4px;
padding: 4px 8px;
background: var(--bg-elev);
border-bottom: 1px solid var(--border);
}
.findField {
flex: 0 1 360px;
min-width: 160px;
}
.findCount {
font-family: var(--font-mono);
font-size: var(--fs-small);
color: var(--fg-subtle);
padding: 0 6px;
white-space: nowrap;
min-width: 56px;
}
.findCountNone {
color: var(--danger);
}
.findSpacer {
flex: 1;
}
@container console-find (max-width: 360px) {
.find {
display: grid;
grid-template-columns: minmax(0, 1fr) repeat(3, 20px);
}
.findField {
grid-column: 1 / -1;
min-width: 0;
}
.findSpacer {
display: none;
}
}