diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-09-06 14:08:51 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-09-06 14:08:51 +0200 |
commit | b7e2d5032f85e4c2cae1e7c3e2bc3076625b7f5d (patch) | |
tree | 6f6cd960e17b5c9349fdb35f097307b17acbd983 /apps | |
parent | 46340d1d398548aa1a93607b7b13852146f50c9e (diff) | |
download | nextcloud-server-b7e2d5032f85e4c2cae1e7c3e2bc3076625b7f5d.tar.gz nextcloud-server-b7e2d5032f85e4c2cae1e7c3e2bc3076625b7f5d.zip |
fix(files): Fallback icons should fill the container
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/src/components/FilesListVirtual.vue | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/files/src/components/FilesListVirtual.vue b/apps/files/src/components/FilesListVirtual.vue index a791abdb3eb..7e2decde31a 100644 --- a/apps/files/src/components/FilesListVirtual.vue +++ b/apps/files/src/components/FilesListVirtual.vue @@ -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); |