дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 11:15:40 +02:00
feat(vcs): resize the Push dialog's commits and changed files with a splitter (#1591)
The commits list and the changed files tree had fixed heights, so a push with one commit and many files left the files in a small scroll area and empty space above the buttons. They now sit in a vertical split that fills the dialog body, and the divider position is remembered.
Цей коміт міститься в:
1 джерело
ad64506336
коміт
e5c250aad8
2 files changed
+101
-37
No files matched your search
@@ -129,15 +129,32 @@
|
||||
flex-direction: column;
|
||||
padding: 0 14px 14px;
|
||||
}
|
||||
/* Push dialog: commits above their changed files, split by a draggable divider; the pair fills the body. */
|
||||
.pushSplit {
|
||||
flex: 1;
|
||||
min-height: min(540px, 60vh);
|
||||
}
|
||||
/* The panel's own `height: 100%` doesn't resolve against a flex-basis height in WebKit: stretch instead. */
|
||||
.pushSplit .pushSplitPanel {
|
||||
height: auto;
|
||||
align-self: stretch;
|
||||
}
|
||||
.pushSplitPanel > .pushListWrap {
|
||||
min-height: 0;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
/* Push dialogs: the outgoing commits' changed files below the commits, the diff beside them. */
|
||||
.pushChanges {
|
||||
flex: none;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 0;
|
||||
padding-top: 8px;
|
||||
}
|
||||
.pushChanges .comparison {
|
||||
height: min(360px, 45vh);
|
||||
flex: 1;
|
||||
height: auto;
|
||||
min-height: 0;
|
||||
padding: 0 14px 14px;
|
||||
}
|
||||
.pushChangesTitle {
|
||||
|
||||
Reference in new issue
Заблокувати користувача