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

47 рядки
665 B
CSS

.search {
padding: 8px 10px;
border-bottom: 1px solid var(--border-popup);
}
.body {
height: 280px;
display: flex;
flex-direction: column;
padding: 4px 0;
}
.list {
flex: 1;
min-height: 0;
}
.error {
padding: 8px 10px;
color: var(--danger);
}
.row {
display: flex;
align-items: center;
gap: var(--space-3);
min-width: 0;
width: 100%;
}
.hash {
font-family: var(--font-mono);
color: var(--accent);
}
.date {
color: var(--fg-subtle);
flex-shrink: 0;
}
.author {
flex: 0 0 110px;
color: var(--fg-secondary);
}
.author,
.subject {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.subject {
flex: 1;
}