diff --git a/common/common.css b/common/common.css index a127092..a19630e 100644 --- a/common/common.css +++ b/common/common.css @@ -1303,29 +1303,24 @@ padding: 0 12px; display: flex !important; align-items: stretch !important; - justify-content: space-between !important; } .nav-header .nav-left { display: flex !important; align-items: stretch !important; - flex: 0 1 auto; + flex: 1; } .nav-header .nav-right { display: flex !important; align-items: stretch !important; height: 100% !important; - flex-shrink: 0; - min-height: 50px; } .nav-right { display: flex !important; align-items: stretch !important; height: 100% !important; - flex-shrink: 0; - min-height: 50px; } .nav-header .nav-left .nav-icon img { @@ -1519,29 +1514,24 @@ padding: 0 10px; display: flex !important; align-items: stretch !important; - justify-content: space-between !important; } .nav-header .nav-left { display: flex !important; align-items: stretch !important; - flex: 0 1 auto; + flex: 1; } .nav-header .nav-right { display: flex !important; align-items: stretch !important; height: 100% !important; - flex-shrink: 0; - min-height: 48px; } .nav-right { display: flex !important; align-items: stretch !important; height: 100% !important; - flex-shrink: 0; - min-height: 48px; } .nav-header .nav-left .nav-icon img { diff --git a/css/index.css b/css/index.css index 62fe778..263689c 100644 --- a/css/index.css +++ b/css/index.css @@ -2515,8 +2515,6 @@ html { align-items: center !important; height: 100% !important; flex-wrap: nowrap !important; - flex-shrink: 0; - min-height: 50px; } /* 默认隐藏所有的桌面端导航链接 */ @@ -2547,8 +2545,6 @@ html { justify-content: flex-end; gap: 6px; height: 100% !important; - flex-shrink: 0; - min-height: 50px; } #index .nav-right .nav-text-link { @@ -3159,8 +3155,6 @@ html { display: flex !important; align-items: stretch !important; height: 100% !important; - flex-shrink: 0; - min-height: 48px; } #index .nav-header .nav-left .nav-icon { @@ -3180,8 +3174,6 @@ html { justify-content: flex-end; gap: 4px; height: 100% !important; - flex-shrink: 0; - min-height: 48px; } #index .nav-right .nav-text-link { @@ -3670,8 +3662,6 @@ html { display: flex !important; align-items: stretch !important; height: 100% !important; - flex-shrink: 0; - min-height: 44px; } #index .nav-header .nav-left .nav-icon { @@ -3699,8 +3689,6 @@ html { justify-content: flex-end; gap: 4px; height: 100% !important; - flex-shrink: 0; - min-height: 44px; } /* 移动端隐藏登录按钮和分隔符,只显示注册按钮 */