Файли
openidea/src/features/macros/macros.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

59 рядки
1003 B
CSS

.status {
gap: var(--space-1-5);
}
.dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--danger);
}
.edit {
display: grid;
grid-template-columns: 220px 1fr;
gap: var(--space-3);
height: 300px;
padding: 14px;
}
.column {
display: flex;
flex-direction: column;
gap: var(--space-2);
min-height: 0;
}
.list {
flex: 1;
min-height: 0;
border: 1px solid var(--border);
border-radius: var(--radius-control);
}
.row {
padding: 0 8px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.buttons {
display: flex;
gap: var(--space-1-5);
}
.empty {
padding: 6px 8px;
color: var(--fg-subtle);
font-size: var(--fs-small);
}
.steps {
margin: 0;
padding: 6px 8px 6px 32px;
overflow: auto;
border: 1px solid var(--border);
border-radius: var(--radius-control);
font-family: var(--font-mono);
font-size: var(--fs-code);
color: var(--fg);
}
.step {
line-height: 1.6;
white-space: pre-wrap;
word-break: break-word;
}