Updated image preview in file explorer

This commit is contained in:
Prozilla 2023-08-10 13:31:50 +02:00
parent e868838fcc
commit 89ee680489
No known key found for this signature in database
GPG key ID: 5858DFE71CAF31EE

View file

@ -144,6 +144,9 @@
}
.File-button-preview {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
overflow: hidden;
}
@ -154,6 +157,12 @@
object-fit: contain;
}
.File-button-preview > img {
height: auto;
max-height: 100%;
border-radius: 0.5rem;
}
.File-button svg, .Folder-button svg {
width: 50%;
height: auto;