From 4220ad1323903cbd2ef780efbdfa25c8490a6fec Mon Sep 17 00:00:00 2001 From: zhaowei Date: Fri, 27 Jun 2025 14:48:25 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=A4=B4=E5=83=8F=E7=9A=84=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- react-ui/src/pages/User/Center/index.less | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/react-ui/src/pages/User/Center/index.less b/react-ui/src/pages/User/Center/index.less index 5897ca51..ad46d886 100644 --- a/react-ui/src/pages/User/Center/index.less +++ b/react-ui/src/pages/User/Center/index.less @@ -1,14 +1,15 @@ +@avaterSize: 180px; + .avatarHolder { position: relative; display: inline-block; - height: 120px; + height: @avaterSize; margin-bottom: 30px; text-align: center; & > img { - width: 120px; - height: 120px; - margin-bottom: 20px; + width: @avaterSize; + height: @avaterSize; border-radius: 50%; } &:hover:after { @@ -20,7 +21,7 @@ color: #eee; font-size: 24px; font-style: normal; - line-height: 110px; + line-height: @avaterSize; background: rgba(0, 0, 0, 0.5); border-radius: 50%; cursor: pointer;