fix(files): Fallback icons should fill the container

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2024-09-06 14:08:51 +02:00
parent 46340d1d39
commit b7e2d5032f
No known key found for this signature in database
GPG key ID: 45FAE7268762B400

View file

@ -566,8 +566,8 @@ export default defineComponent({
&-blurhash {
position: absolute;
top: 0;
left: 0;
inset-block-start: 0;
inset-inline-start: 0;
height: 100%;
width: 100%;
object-fit: cover;
@ -578,6 +578,9 @@ export default defineComponent({
object-fit: contain;
object-position: center;
height: 100%;
width: 100%;
/* Preview not loaded animation effect */
&:not(.files-list__row-icon-preview--loaded) {
background: var(--color-loading-dark);