From a8f8080327a81d76ec4e3876dfa86323fc2c14e4 Mon Sep 17 00:00:00 2001 From: MKStoler1024 <158786854+MKStoler1024@users.noreply.github.com> Date: Wed, 23 Apr 2025 22:46:33 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E5=85=B3=E4=BA=8E?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E6=A0=B7=E5=BC=8F=EF=BC=8C=E4=BD=BF=E7=94=A8?= =?UTF-8?q?flex=E5=B8=83=E5=B1=80=E5=AE=9E=E7=8E=B0=E5=9B=BE=E6=A0=87?= =?UTF-8?q?=E4=B8=8E=E6=96=87=E5=AD=97=E5=9E=82=E7=9B=B4=E5=B1=85=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- about/index.html | 6 ++++-- index.html | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/about/index.html b/about/index.html index 7aade5b..58bca60 100644 --- a/about/index.html +++ b/about/index.html @@ -50,12 +50,14 @@ .feature-list li { margin-bottom: 12px; display: flex; - align-items: flex-start; + align-items: center; /* 修改为center,保证图标和文字垂直居中 */ } .feature-list .material-icons { margin-right: 12px; color: #D0BCFF; + flex-shrink: 0; /* 防止图标被压缩 */ + align-self: center; /* 保证图标始终居中 */ } .back-btn { @@ -185,7 +187,7 @@
本项目采用 GNU General Public License v3.0
正在加载许可证内容...diff --git a/index.html b/index.html index cad9e6a..4a9c5e0 100644 --- a/index.html +++ b/index.html @@ -140,6 +140,9 @@ font-size: 14px; text-decoration: none; color: rgba(255, 255, 255, 1); + display: flex; /* 新增:使用flex布局 */ + align-items: center; /* 新增:垂直居中对齐 */ + gap: 6px; /* 新增:图标与文字间距 */ } .about-link:hover {