Skip to content

Commit

Permalink
Merge pull request #47802 from nextcloud/fix/fallback-icons
Browse files Browse the repository at this point in the history
fix(files): Fallback icons should fill the container
  • Loading branch information
susnux authored Sep 6, 2024
2 parents 61a2d99 + 890699b commit a05e542
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 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
4 changes: 2 additions & 2 deletions dist/files-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files-main.js.map

Large diffs are not rendered by default.

0 comments on commit a05e542

Please sign in to comment.