[ui] fix preview overflow, max-height = height

feat/vaults
Tomáš Mládek 2022-02-10 15:55:01 +01:00
parent 689350aed5
commit 7427ed2216
No known key found for this signature in database
GPG Key ID: 65E225C8B3E2ED8A
2 changed files with 3 additions and 1 deletions

View File

@ -108,7 +108,7 @@
.image,
.text {
width: 100%;
max-height: var(--preview-height, 25em);
height: var(--preview-height, 25em);
}
iframe {

View File

@ -46,9 +46,11 @@
@use "@recogito/annotorious/dist/annotorious.min.css";
.image-viewer {
height: 100%;
text-align: center;
img {
max-width: 100%;
max-height: 100%;
}
}