Файли
openidea/src/features/code-insight/HierarchyView.module.css
T
Mr0Bread 9a518e734b refactor(styles): put gap on the spacing scale (#3562)
Extends the 4px-grid spacing scale with --space-0-5 (2px), --space-1 (4px) and --space-1-5 (6px) and replaces the literal 2/4/6/8/12/16px gap, row-gap and column-gap values with the tokens; computed values are unchanged. src/styles/spacingScale.test.ts flags an on-scale literal gap.

Co-authored-by: Mr0Bread <[email protected]>
2026-11-15 23:59:47 +08:00

69 рядки
991 B
CSS

.view {
height: 100%;
display: flex;
flex-direction: column;
min-height: 0;
}
.tabs {
min-width: 0;
border: 0;
background: none;
}
.toolbar {
height: 32px;
flex: none;
display: flex;
align-items: center;
gap: var(--space-0-5);
padding: 0 6px;
}
.sep {
width: 1px;
height: 16px;
margin: 0 4px;
background: var(--border);
}
.note {
flex: none;
padding: 0 8px 4px;
font-size: var(--fs-small);
font-style: italic;
color: var(--fg-subtle);
}
.body {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
}
.body > * {
flex: 1;
min-height: 0;
}
.row {
display: flex;
align-items: center;
gap: var(--space-1-5);
min-width: 0;
flex: 1;
white-space: nowrap;
}
.name {
color: var(--fg);
}
.detail {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
color: var(--fg-subtle);
}
.muted {
flex: none;
color: var(--fg-subtle);
}
.error {
flex: none;
font-size: var(--fs-small);
color: var(--danger);
}