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

51 рядки
785 B
CSS

.popup {
width: 280px;
overflow: hidden;
}
.body {
display: flex;
flex-direction: column;
outline: none;
padding-bottom: 4px;
}
.header {
display: flex;
align-items: center;
height: var(--h-row);
padding: 0 10px;
font-size: var(--fs-small);
color: var(--fg-subtle);
}
.title {
flex: 1;
}
.search {
margin: 0 8px 4px;
border-bottom: 1px solid var(--border-popup);
}
.list {
max-height: 360px;
height: auto;
}
.row {
display: flex;
align-items: center;
gap: var(--space-2);
min-width: 0;
flex: 1;
}
.label {
color: var(--fg-emphasis);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.active .label {
color: var(--fg-strong);
}
.empty {
padding: 6px 10px;
color: var(--fg-faint);
font-size: var(--fs-small);
}