[#1548] added PDF preview

This commit is contained in:
mjadobson authored and GitHub committed 2023-01-09 21:41:27 +02:00
1 parent c1ff1c6155
commit 7459c9208f
36 files changed
+175 -132

No files matched your search

+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 {