feat: fit DICOM previews and show searchable file metadata

This commit is contained in:
SantaSpeen committed 2026-10-22 11:07:27 +03:00
1 parent 7a1d18dfc6
commit a69fdf2e09
17 files changed
+471 -221

No files matched your search

+82
View File
@@ -48,6 +48,88 @@
max-width: 100%;
height: auto;
}
.dicom-viewer {
min-height: 0;
}
#previewer .preview.document-preview {
position: absolute;
top: 4em;
bottom: 0;
width: 100%;
height: auto;
}
.dicom-viewer .document-tools {
flex-shrink: 0;
}
.dicom-viewer .document-stage {
display: flex;
align-items: center;
justify-content: center;
min-width: 0;
overflow: hidden;
}
.dicom-viewer .document-stage canvas {
display: block;
width: 100%;
height: 100%;
min-width: 0;
min-height: 0;
object-fit: scale-down;
}
.file-info.card.floating {
width: min(860px, calc(100vw - 24px));
max-height: calc(100vh - 24px);
display: flex;
flex-direction: column;
}
.file-info .card-content {
min-height: 0;
overflow: auto;
}
.file-info .card-title,
.file-info .card-action {
flex-shrink: 0;
}
.file-info h3 {
margin: 20px 0 12px;
font-size: 15px;
}
.file-info table {
width: 100%;
border-collapse: collapse;
table-layout: fixed;
}
.file-info th,
.file-info td {
padding: 9px 12px;
border-bottom: 1px solid var(--divider);
text-align: start;
vertical-align: top;
overflow-wrap: anywhere;
}
.file-info th {
width: 34%;
font-weight: 500;
color: var(--textSecondary);
}
.file-info td {
color: var(--textPrimary);
}
.file-info .dicom-tag {
display: block;
font-size: 11px;
opacity: 0.7;
margin-top: 4px;
}
.file-info input {
width: 100%;
}
.file-info details {
margin-top: 20px;
}
.file-info summary {
cursor: pointer;
}
.document-error {
padding: 16px;
overflow-wrap: anywhere;