Skip to content

Commit

Permalink
fix(files): Fallback icons should fill the container
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Sep 6, 2024
1 parent 46340d1 commit b7e2d50
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions apps/files/src/components/FilesListVirtual.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand Down

0 comments on commit b7e2d50

Please sign in to comment.