diff --git a/css/index.css b/css/index.css index 39076a6..1866921 100644 --- a/css/index.css +++ b/css/index.css @@ -2481,7 +2481,8 @@ html { padding: 0 8px; height: 50px !important; display: flex; - align-items: stretch; + align-items: center; + overflow: hidden; } #index .nav-header .nav-left { @@ -2557,6 +2558,12 @@ html { margin: 0 !important; border: none !important; background: linear-gradient(135deg, #38BDF8 0%, #6366F1 100%) !important; + flex-shrink: 0 !important; + } + + #index .no-login .btn.btn-normal#registBtn::before { + width: 12px !important; + height: 12px !important; } /* 汉堡菜单按钮样式 - 放在左侧(order: 3) */ @@ -3036,7 +3043,8 @@ html { padding: 0 10px; height: 48px !important; display: flex; - align-items: stretch; + align-items: center; + overflow: hidden; } #index .nav-header .nav-left { @@ -3107,6 +3115,12 @@ html { margin: 0 !important; border: none !important; background: linear-gradient(135deg, #38BDF8 0%, #6366F1 100%) !important; + flex-shrink: 0 !important; + } + + #index .no-login .btn.btn-normal#registBtn::before { + width: 12px !important; + height: 12px !important; } /* 汉堡菜单按钮样式 - 放在左侧(order: 3) */ @@ -3531,7 +3545,8 @@ html { padding: 0 8px; height: 44px !important; display: flex; - align-items: stretch; + align-items: center; + overflow: hidden; } #index .nav-header .nav-left { @@ -3602,6 +3617,12 @@ html { margin: 0 !important; border: none !important; background: linear-gradient(135deg, #38BDF8 0%, #6366F1 100%) !important; + flex-shrink: 0 !important; + } + + #index .no-login .btn.btn-normal#registBtn::before { + width: 10px !important; + height: 10px !important; } /* 汉堡菜单按钮样式 - 放在左侧(order: 3) */