This commit is contained in:
@@ -221,6 +221,19 @@
|
|||||||
#index .nav-header {
|
#index .nav-header {
|
||||||
height: 56px;
|
height: 56px;
|
||||||
padding: 0 16px;
|
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;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Logo 缩小 */
|
/* Logo 缩小 - 但比之前稍微大一点 */
|
||||||
#index .nav-icon img {
|
#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;
|
min-width: auto !important;
|
||||||
border-radius: 0 !important;
|
border-radius: 0 !important;
|
||||||
border-left: none !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;
|
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;
|
display: flex !important;
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
border: none !important;
|
border: none !important;
|
||||||
|
align-self: center;
|
||||||
|
/* Ensure it centers itself */
|
||||||
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user