Updated image preview in file explorer
This commit is contained in:
parent
e868838fcc
commit
89ee680489
1 changed files with 9 additions and 0 deletions
|
|
@ -144,6 +144,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.File-button-preview {
|
.File-button-preview {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
@ -154,6 +157,12 @@
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.File-button-preview > img {
|
||||||
|
height: auto;
|
||||||
|
max-height: 100%;
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
.File-button svg, .Folder-button svg {
|
.File-button svg, .Folder-button svg {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue