Files
openidea/src/features/github/clone/GitHubCloneSource.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 <55754540+Mr0Bread@users.noreply.github.com>
2026-11-15 23:59:47 +08:00

76 lines
1.1 KiB
CSS

.pane {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
gap: 10px;
}
.header {
display: flex;
align-items: center;
gap: var(--space-2);
}
.login {
color: var(--fg-strong);
font-weight: 600;
}
.search {
flex: 1;
min-width: 0;
margin-left: 8px;
}
.list {
flex: 1;
min-height: 160px;
display: flex;
border-radius: var(--radius-control, 4px);
box-shadow: inset 0 0 0 1px var(--border);
overflow: hidden;
}
.list > * {
flex: 1;
min-width: 0;
}
.row {
display: flex;
align-items: center;
gap: var(--space-2);
width: 100%;
min-width: 0;
}
.rowIcon {
flex: none;
color: var(--fg-subtle);
}
.name {
flex: none;
max-width: 60%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tag {
flex: none;
color: var(--fg-faint);
font-size: var(--fs-small);
}
.description {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: var(--fg-faint);
font-size: var(--fs-small);
}
.center {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
gap: var(--space-2);
}
.muted {
color: var(--fg-subtle);
}