Skip to content

The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.

837 B
Raw Blame
/* 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;
  }
}