Файли
openidea/src/features/vcs/CompareBranches.module.css
T
l0ng-ai aa1326496b Show both commit ranges in Git branch comparisons (#4642)
Git branch comparison shows both commit ranges side by side in resizable panes. Verified with e2e branchCompareLayout, full vitest and typecheck.
2026-11-20 10:20:51 +08:00

82 рядки
1.1 KiB
CSS

.dialog {
height: min(540px, calc(100vh - 48px));
}
.ranges {
flex: 1;
min-height: 0;
}
.range,
.list {
display: flex;
flex-direction: column;
min-height: 0;
}
.range {
height: 100%;
}
.list {
flex: 1;
}
.rangeHeader {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: var(--space-2);
padding: var(--space-2) var(--space-3);
border-bottom: 1px solid var(--border-strong);
background: var(--bg-elev);
}
.rangeHeader h3 {
min-width: 0;
margin: 0;
overflow-wrap: anywhere;
font-size: var(--fs-ui);
font-weight: 500;
}
.count,
.metadata {
color: var(--fg-secondary);
font-size: var(--fs-small);
}
.count {
font-variant-numeric: tabular-nums;
}
.commit {
display: flex;
flex: 1;
flex-direction: column;
gap: var(--space-0-5);
min-width: 0;
}
.subject,
.author {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.metadata {
display: flex;
align-items: baseline;
gap: var(--space-2);
}
.date {
flex-shrink: 0;
}
.error {
padding: var(--space-3);
overflow-wrap: anywhere;
}