дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-05 01:31:41 +02:00
fix(ui): prevent WebKit height: 100% overflow in flex-basis dialogs (#5864)
Цей коміт міститься в:
1 джерело
eead66df7d
коміт
f034d96ed4
2 files changed
+14
-2
No files matched your search
@@ -161,17 +161,22 @@
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
/* Checkable changes tree in the Shelve / Create Patch dialogs. */
|
||||
/* Checkable changes tree in the Shelve / Create Patch / Rollback dialogs. */
|
||||
.fileTree {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 260px;
|
||||
margin: 0 14px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-small);
|
||||
overflow: hidden;
|
||||
}
|
||||
.fileTreeView {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
/* Override Tree's `height: 100%`: WebKit doesn't resolve percentage heights against a flex-basis height. */
|
||||
height: auto;
|
||||
}
|
||||
.fileTreeRow {
|
||||
composes: fileRow;
|
||||
@@ -911,12 +916,18 @@
|
||||
.comparisonTree {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
/* Stretch instead of Tree's `height: 100%`: WebKit doesn't resolve percentage heights against a flex-basis height. */
|
||||
height: auto;
|
||||
align-self: stretch;
|
||||
border: 1px solid var(--border);
|
||||
}
|
||||
.comparisonWithDiff .comparisonTree {
|
||||
flex: 0 0 30%;
|
||||
}
|
||||
.comparisonDiff {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
height: 100%;
|
||||
/* Stretch inside [data-panel]'s row flex box: `height: 100%` fails to resolve against a flex-basis height in WebKit. */
|
||||
align-self: stretch;
|
||||
}
|
||||
.handle {
|
||||
position: relative;
|
||||
|
||||
Reference in new issue
Заблокувати користувача