Файли
openidea/src/features/vcs/ThreePaneDiff.module.css
T
l0ng-ai 03b9070b9b fix(vcs): show file names in staging diff headings (#5268)
The three-way staging diff displays the filename in the index heading. When a version has a different path, its heading shows that filename too. The headings use the standard workbench text size, and hovering over a filename heading reveals its full path.
2026-11-23 09:14:53 +08:00

74 рядки
1.2 KiB
CSS

.root {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
}
.labels,
.panes {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.labels {
flex: none;
height: var(--h-row);
border-bottom: 1px solid var(--border);
color: var(--fg-secondary);
font-size: var(--fs-small);
}
.labels > span {
line-height: var(--h-row);
padding-inline: var(--space-3);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.labels > span + span,
.pane + .pane {
border-left: 1px solid var(--border);
}
.versionLabels {
font-size: var(--fs-ui);
}
.versionLabels > span,
.labelFile {
display: flex;
align-items: center;
gap: var(--space-1);
}
.labelFile {
min-width: 0;
color: var(--fg-strong);
}
.labelFile > svg {
flex: none;
}
.labelFilename {
overflow: hidden;
text-overflow: ellipsis;
}
.versionLabels .versionName {
flex: none;
}
.absent {
color: var(--fg-subtle);
}
.panes {
flex: 1;
min-height: 0;
}
.pane {
min-width: 0;
min-height: 0;
display: flex;
overflow: hidden;
}
.pane > :global(.cm-editor) {
flex: 1;
min-width: 0;
}
.status {
color: var(--fg-secondary);
padding: var(--space-3);
}