From c4e67a8942e514b65ab41bb19781d50576c15725 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 24 Sep 2021 19:56:52 +0800
Subject: [PATCH] 用户
---
src/styles/common.scss | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/styles/common.scss b/src/styles/common.scss
index eb4bded..f18866b 100644
--- a/src/styles/common.scss
+++ b/src/styles/common.scss
@@ -44,16 +44,16 @@
height: calc(100% - 62px);
}
- img {
+ div.img {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
+ width: calc(100% - 8px);
height: calc(100% - 8px);
- max-width: calc(100% - 8px);
- max-height: calc(100% - 8px);
+ overflow: hidden;
}
}
--
Gitblit v1.9.3