mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #47802 from nextcloud/fix/fallback-icons
fix(files): Fallback icons should fill the container
This commit is contained in:
commit
a05e5428c5
3 changed files with 8 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
4
dist/files-main.js
vendored
4
dist/files-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-main.js.map
vendored
2
dist/files-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue