Files
openidea/src/features/vcs/LocalChangesReviewDialog.module.css
T
l0ng-ai 3817724637 fix(vcs): make files and actions easier to scan in local changes review (#5227)
The local changes review shows the filename first and uses smaller, muted text for its parent folder. This keeps filenames visible when directories are long. The warning and change preservation hint sit together above the file list. Force Checkout sits on the left, with Smart Checkout and cancellation on the right.
2026-11-23 09:12:22 +08:00

77 lines
1.1 KiB
CSS

.dialog [data-dialog-body] {
display: flex;
flex-direction: column;
}
.content {
display: flex;
flex: 1;
flex-direction: column;
gap: var(--space-2);
min-height: 0;
padding: var(--space-2) var(--space-4) 0;
font-size: var(--fs-ui);
}
.intro {
display: grid;
gap: var(--space-1);
}
.intro p {
margin: 0;
}
.review {
display: flex;
flex: 1 1 230px;
flex-direction: column;
min-height: calc(2 * var(--h-row) + var(--h-control));
border: 1px solid var(--border);
border-radius: var(--radius-small);
overflow: hidden;
}
.toolbar {
display: flex;
align-items: center;
gap: var(--space-1);
padding: var(--space-1);
border-bottom: 1px solid var(--border);
}
.tree {
flex: 1;
min-height: var(--h-row);
}
.nodeIcon {
flex: none;
}
.fileLabel {
display: flex;
flex: 1;
align-items: baseline;
gap: var(--space-1-5);
min-width: 0;
}
.fileName,
.directory {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.directory {
flex: 1;
color: var(--fg-subtle);
font-size: var(--fs-small);
}
.hint {
color: var(--fg-subtle);
}