/* 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: var(--space-1); 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; } }