修复问题
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
yiqiu
2025-12-25 19:55:18 +08:00
parent f1e4e52514
commit ca5adb63c3

View File

@@ -221,6 +221,19 @@
#index .nav-header {
height: 56px;
padding: 0 16px;
display: flex !important;
align-items: center !important;
/* Force vertical centering */
justify-content: space-between;
}
/* Ensure Right Container handles children alignment */
#index .nav-right {
display: flex;
align-items: center;
height: 100%;
/* Fill header height */
margin: 0;
}
/* 隐藏桌面端导航菜单 */
@@ -233,9 +246,12 @@
display: none !important;
}
/* Logo 缩小 */
/* Logo 缩小 - 但比之前稍微大一点 */
#index .nav-icon img {
max-height: 32px;
max-height: 48px;
/* Increased from 32px to 48px */
width: auto;
object-fit: contain;
}
/* 调整移动端注册按钮样式 - 长方形无圆角,撑满导航栏高度 */
@@ -245,8 +261,16 @@
min-width: auto !important;
border-radius: 0 !important;
border-left: none !important;
height: 56px !important;
height: 100% !important;
/* Ensure it fills parent height */
max-height: 56px;
/* Match header height */
margin-right: -16px !important;
display: flex;
align-items: center;
justify-content: center;
margin-top: 0 !important;
/* Remove any potential vertical margin */
}
/* 移动端注册按钮图标隐藏 */
@@ -265,6 +289,9 @@
display: flex !important;
background: transparent !important;
border: none !important;
align-self: center;
/* Ensure it centers itself */
margin-top: 0;
}
}