Файли
openidea/src/features/vcs/GitCommandDialog.module.css
T
l0ng-ai 95b71e1ffc fix(vcs): align the rebase dialog (#4940)
- Group the repository, command and target branch in one row. The row wraps when space is limited.
- Put the branch being rebased in the title. With `--onto` enabled, place the new base beside the command and label the old base on its own row.
- Move flags to **Modify options** and show active flags below the fields. Clear branch selections when switching repositories and wait for the new repository's branches.
2026-11-21 11:05:51 +08:00

64 рядки
955 B
CSS

.form {
display: flex;
flex-direction: column;
gap: var(--space-3);
padding: var(--space-4);
font-size: var(--fs-ui);
}
.source,
.command,
.rebaseBase {
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,
.rebaseBase > .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);
}
.message {
display: flex;
flex-direction: column;
gap: var(--space-1);
}