fix(database): refine console and data editor layout (#4520)

Database console and data editor layout: console tabs show the console name with its data source and database (and the source icon) through new tabTitle/tabIcon file decorations, results tabs, the data source dialog, table editor and schema compare use the spacing scale and fit narrow panes.
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-19 21:37:20 +08:00
1 джерело 2265497b18
коміт 98418d727b
21 files changed
+455 -252

No files matched your search

+16 -5
Переглянути файл
@@ -2,8 +2,8 @@
display: flex;
flex-direction: column;
gap: var(--space-2);
height: 560px;
padding: 14px;
height: clamp(350px, 68vh, 620px);
padding: var(--space-4);
}
.pickers {
display: flex;
@@ -35,7 +35,8 @@
color: var(--fg-muted);
}
.panes {
display: flex;
display: grid;
grid-template-rows: minmax(0, 5fr) minmax(0, 4fr);
gap: var(--space-2);
flex: 1;
min-height: 0;
@@ -43,7 +44,6 @@
.tree {
display: flex;
flex-direction: column;
flex: 1.2;
min-width: 0;
border: 1px solid var(--border);
border-radius: var(--radius-control);
@@ -54,8 +54,19 @@
min-height: 0;
}
.preview {
flex: 1;
display: flex;
flex-direction: column;
gap: var(--space-1);
min-width: 0;
min-height: 0;
}
.previewLabel {
color: var(--fg-secondary);
font-size: var(--fs-small);
}
.preview > :last-child {
flex: 1;
min-height: 0;
}
.row {
display: inline-flex;