From b99f4810b58db2414a14ecf3d019ed93b4629f1f Mon Sep 17 00:00:00 2001 From: shenghuo2 <1308357113@qq.com> Date: Sat, 21 Jun 2025 10:37:41 +0800 Subject: [PATCH] style(profile): fix class `menu-icon` set center text and position absolutely in profile section and change color --- styles/profile.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/styles/profile.css b/styles/profile.css index 4f87bab..3623a29 100644 --- a/styles/profile.css +++ b/styles/profile.css @@ -282,6 +282,11 @@ width: 100%; height: 100%; line-height: 1; + text-align: center; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); } .menu-content { @@ -331,7 +336,7 @@ .menu-item i:last-child { font-size: 14px; - color: #ccc; + color: #ffffff; } /* 头部信息 */