updated files preview ui
This commit is contained in:
@@ -238,28 +238,41 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
&.image-preview {
|
||||
width: auto;
|
||||
min-width: 300px;
|
||||
min-height: 250px;
|
||||
max-width: 70%;
|
||||
max-height: 90%;
|
||||
|
||||
// preview elements
|
||||
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%;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
// preview variants
|
||||
&.preview-image {
|
||||
width: auto;
|
||||
min-width: 320px;
|
||||
min-height: 300px;
|
||||
max-width: 75%;
|
||||
max-height: 90%;
|
||||
}
|
||||
|
||||
&.preview-document,
|
||||
&.preview-video {
|
||||
width: 75%;
|
||||
height: 90%;
|
||||
}
|
||||
&.preview-audio {
|
||||
min-width: 320px;
|
||||
min-height: 300px;
|
||||
max-width: 90%;
|
||||
max-height: 90%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user