aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/css/files.css
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-12-14 17:36:17 +0100
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-01-04 16:45:54 +0100
commit8f1bf13ae3046400ce6248fb13e5515e8e9ed5c4 (patch)
tree99226cda65fe6c836fb8c52740a5a94de72bdaab /apps/files/css/files.css
parent5c987a0ff4530cd0951920fcbfaf97411aeec17a (diff)
downloadnextcloud-server-8f1bf13ae3046400ce6248fb13e5515e8e9ed5c4.tar.gz
nextcloud-server-8f1bf13ae3046400ce6248fb13e5515e8e9ed5c4.zip
Fix preview crop
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/css/files.css')
-rw-r--r--apps/files/css/files.css4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index 8696d5f7707..52871928750 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -480,7 +480,9 @@ table td.filename .thumbnail {
display: inline-block;
width: 32px;
height: 32px;
- background-size: 32px;
+ background-size: contain;
+ background-position: center;
+ background-repeat: no-repeat;
margin-left: 9px;
margin-top: 9px;
border-radius: var(--border-radius);