From d851377631d78cf5a043877806c4bb1e2c89efae Mon Sep 17 00:00:00 2001 From: Joe McGrath <33670767+josephmcg@users.noreply.github.com> Date: Thu, 19 May 2022 00:09:22 +0900 Subject: [PATCH] fix(files): width and height for files image view (#3223) --- components/views/files/view/View.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/views/files/view/View.less b/components/views/files/view/View.less index 498836368a..b1e6474549 100644 --- a/components/views/files/view/View.less +++ b/components/views/files/view/View.less @@ -52,6 +52,10 @@ max-height: 60vh; &:extend(.round-corners); overflow: hidden; + img { + height: 100%; + width: 100%; + } } .no-preview {