Files
openidea/src/features/vcs/PullDialog.module.css
T
l0ng-ai 610fe23f88 Make the Pull dialog fit long branch names (#4622)
Pull dialog wraps long branch names instead of overflowing. Verified with e2e pullDialogLayout, vcs vitest and typecheck.
2026-11-20 08:22:26 +08:00

56 lines
839 B
CSS

.form {
display: flex;
flex-direction: column;
gap: var(--space-3);
padding: var(--space-4);
font-size: var(--fs-ui);
}
.source,
.command {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--space-2);
min-width: 0;
}
.source > .repository {
flex: 1 1 124px;
}
.command,
.noRemotes {
flex: 4 1 352px;
}
.verb {
flex: none;
color: var(--fg-secondary);
font-family: var(--font-mono);
white-space: nowrap;
}
.command > .remote {
flex: 1 1 104px;
}
.command > .branch {
flex: 3 1 208px;
}
.flags {
display: flex;
flex-wrap: wrap;
gap: var(--space-1);
}
.flags > code {
padding: var(--space-0-5) var(--space-1-5);
border-radius: var(--radius-control);
background: var(--bg-field);
color: var(--fg-secondary);
font-family: var(--font-mono);
font-size: var(--fs-small);
}