[#1548] added PDF preview

This commit is contained in:
mjadobson
2023-01-09 19:41:27 +00:00
committed by GitHub
parent c1ff1c6155
commit 7459c9208f
36 changed files with 175 additions and 132 deletions
+19 -6
View File
@@ -210,12 +210,7 @@
&.full-width-popup {
width: 100%;
}
&.image-preview {
width: auto;
min-width: 300px;
min-height: 250px;
max-width: 70%;
max-height: 90%;
&.preview {
.panel-header {
position: absolute;
z-index: 99;
@@ -243,12 +238,30 @@
align-items: center;
justify-content: center;
}
}
&.image-preview {
width: auto;
min-width: 300px;
min-height: 250px;
max-width: 70%;
max-height: 90%;
img {
max-width: 100%;
border-top-left-radius: var(--baseRadius);
border-top-right-radius: var(--baseRadius);
}
}
&.pdf-preview {
width: 70%;
height: 90%;
object {
position:absolute;
left:0;
top:0;
width:100%;
height:100%;
}
}
@media (max-width: 900px) {
.overlay-panel-section {