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 {