问题: - 注册按钮使用相对高度 height: 100% 导致高度计算为0 解决: - 改为固定高度值: - 767px:height: 50px(导航栏高度) - 575px:height: 48px(导航栏高度) - 360px:height: 44px(导航栏高度) - 添加 justify-content: center 确保按钮内容居中 - 所有属性都使用 !important 强制应用 注册按钮现在应该正确显示在右上角。 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -2549,10 +2549,11 @@ html {
|
||||
padding: 0 10px !important;
|
||||
font-size: 10px !important;
|
||||
min-width: auto !important;
|
||||
height: 100% !important;
|
||||
height: 50px !important;
|
||||
line-height: 50px !important;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
}
|
||||
|
||||
/* 汉堡菜单按钮样式 - 放在左侧(order: 3) */
|
||||
@@ -3095,10 +3096,11 @@ html {
|
||||
padding: 0 10px !important;
|
||||
font-size: 10px !important;
|
||||
min-width: auto !important;
|
||||
height: 100% !important;
|
||||
height: 48px !important;
|
||||
line-height: 48px !important;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
}
|
||||
|
||||
/* 汉堡菜单按钮样式 - 放在左侧(order: 3) */
|
||||
@@ -3586,10 +3588,11 @@ html {
|
||||
padding: 0 8px !important;
|
||||
font-size: 9px !important;
|
||||
min-width: auto !important;
|
||||
height: 100% !important;
|
||||
height: 44px !important;
|
||||
line-height: 44px !important;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
}
|
||||
|
||||
/* 汉堡菜单按钮样式 - 放在左侧(order: 3) */
|
||||
|
||||
Reference in New Issue
Block a user