дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 01:01:17 +02:00
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]>
39 рядки
768 B
CSS
39 рядки
768 B
CSS
/* Completion popup under an expression field: menu metrics, scrolling past ~12 rows. */
|
|
.popup {
|
|
padding: 6px 0;
|
|
min-width: 240px;
|
|
max-width: 520px;
|
|
}
|
|
.list {
|
|
max-height: calc(12 * var(--h-list-row));
|
|
overflow-y: auto;
|
|
}
|
|
.item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1-5);
|
|
height: var(--h-list-row);
|
|
margin: 0 6px;
|
|
padding: 0 8px 0 6px;
|
|
border-radius: var(--radius-selection, 5px);
|
|
color: var(--fg-strong);
|
|
font-family: var(--font-mono);
|
|
white-space: nowrap;
|
|
cursor: default;
|
|
}
|
|
.active {
|
|
background: var(--bg-tree-selected);
|
|
}
|
|
.label {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.detail {
|
|
margin-left: 16px;
|
|
color: var(--fg-muted);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|