[ui] fix preview overflow, max-height = height
parent
689350aed5
commit
7427ed2216
|
@ -108,7 +108,7 @@
|
|||
.image,
|
||||
.text {
|
||||
width: 100%;
|
||||
max-height: var(--preview-height, 25em);
|
||||
height: var(--preview-height, 25em);
|
||||
}
|
||||
|
||||
iframe {
|
||||
|
|
|
@ -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%;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue