unify detailpanel and documentviewer

This commit is contained in:
2025-11-11 14:45:19 +01:00
parent 10f9f3be2f
commit a8589a864a
8 changed files with 139 additions and 480 deletions
+1 -1
View File
@@ -75,7 +75,7 @@
}
.detail-panel__content .document-viewer-panel__body {
padding: 0.5rem 1rem;
padding: 0.5rem 0.5rem 0;
}
.detail-section__header {
+12 -3
View File
@@ -14,6 +14,15 @@
overflow: auto;
}
.document-viewer-panel__body--stacked {
flex-direction: column;
}
.document-viewer-panel__body--stacked .document-viewer,
.document-viewer-panel__body--stacked .document-viewer--stacked {
min-height: auto;
}
.document-viewer-panel__body > .document-viewer,
.document-viewer-panel__body > .document-viewer--loading {
flex: 1;
@@ -27,14 +36,14 @@
align-items: stretch;
gap: 1rem;
min-height: 0;
padding: 1rem 1rem;
padding: 0.25rem 1rem 1rem;
}
.document-viewer--stacked {
display: flex;
flex-direction: column;
gap: 0.5rem;
padding: 0.5rem;
padding: 0.5rem 1rem 1rem;
overflow: auto;
}
@@ -51,7 +60,7 @@
.document-viewer--stacked .document-viewer__details-pane {
flex: 1 1 auto;
overflow: auto;
overflow: visible;
order: 0;
}