修复注册按钮内容在下半部分显示的问题
All checks were successful
continuous-integration/drone/push Build is passing

问题根因:
- .regist-text 使用 display: inline-block
- inline-block 在 flex 容器中按照文字基线对齐
- 导致内容向下偏移而不是垂直居中

解决方案:
- 将 .regist-text 改为 display: inline-flex
- 添加 align-items: center 确保内部内容垂直居中
- 现在按钮图标和文字会正确地在按钮中间显示

这解决了用户看到的"虚线下面才有按钮内容"的问题

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
yiqiu
2025-12-17 13:37:59 +08:00
parent 247937bedb
commit 9627d02a22

View File

@@ -165,7 +165,8 @@
#index .no-login .btn.btn-normal#registBtn .regist-text {
position: relative;
z-index: 3;
display: inline-block;
display: inline-flex;
align-items: center;
}
/* 注册按钮图标 */