mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
fix(files): Fallback icons should fill the container
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
46340d1d39
commit
b7e2d5032f
1 changed files with 5 additions and 2 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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue