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

55 рядки
793 B
CSS

.popup {
width: 560px;
display: flex;
flex-direction: column;
overflow: hidden;
}
.header {
flex: none;
padding: 8px 12px;
border-bottom: 1px solid var(--border-popup);
color: var(--fg-strong);
font-size: var(--fs-ui);
font-weight: 600;
}
.list {
max-height: 320px;
padding: 4px 0;
}
.row {
flex: 1;
min-width: 0;
padding: 0;
}
.section {
flex: 1;
display: flex;
align-items: center;
gap: var(--space-1-5);
}
.count {
margin-left: auto;
color: var(--fg-subtle);
font-family: var(--font-mono);
font-size: var(--fs-tiny);
}
.empty {
padding: 16px 12px;
color: var(--fg-subtle);
line-height: 1.5;
}
.footer {
flex: none;
display: flex;
justify-content: flex-end;
padding: 8px 12px;
border-top: 1px solid var(--border-popup);
}