fix(problems): adapt the preview to the dock position (#5099)

In a side dock, Problems puts the severity and navigation toolbar above the list and the source preview below it, both at the full dock width; in the bottom dock the list and preview sit side by side. Each orientation remembers its divider position.
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-22 10:08:12 +08:00
1 джерело 1fd9246ccc
коміт 54c7cbc3b0
3 files changed
+99 -9

No files matched your search

+10
Переглянути файл
@@ -19,6 +19,9 @@
min-height: 0;
height: 100%;
}
.resultsStacked {
flex-direction: column;
}
.toolbar {
flex: none;
display: flex;
@@ -28,6 +31,13 @@
border-inline-end: 1px solid var(--border);
overflow-y: auto;
}
.resultsStacked .toolbar {
flex-direction: row;
flex-wrap: wrap;
border-inline-end: 0;
border-block-end: 1px solid var(--border);
overflow: visible;
}
.tree {
flex: 1;
min-width: 0;