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.

817 B
Raw Blame
/* The editor inlay panel (`CodeReviewCommentUIUtil.createEditorInlayPanel`): 10px arc, the
   tear line colour as border, the editor background; content at most 42em wide, and never
   wider than the pane (the scroller is its size container; 96px: gutters and margins). */
.inlay {
  box-sizing: border-box;
  max-width: min(calc(42em + 60px), calc(100cqw - 96px));
  margin: 4px 12px 4px 4px;
  padding: 6px 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-editor);
  font-family: var(--font-ui);
  font-size: var(--fs-ui);
  white-space: normal;
  cursor: auto;
}

.newComment {
  padding: 4px 10px;
}

.sep {
  width: 1px;
  height: 14px;
  margin: 0 4px;
  background: var(--border-strong);
}

.page {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0;
}