diff --git a/common/common.css b/common/common.css index ab2d810..036b4e0 100644 --- a/common/common.css +++ b/common/common.css @@ -122,6 +122,7 @@ align-items: stretch; font-size: 14px; height: 100%; + flex-shrink: 0; } .nav-right .control { @@ -1292,6 +1293,26 @@ .nav-header { height: 50px !important; padding: 0 12px; + display: flex !important; + align-items: stretch !important; + } + + .nav-header .nav-left { + display: flex !important; + align-items: stretch !important; + flex: 1; + } + + .nav-header .nav-right { + display: flex !important; + align-items: stretch !important; + height: 100% !important; + } + + .nav-right { + display: flex !important; + align-items: stretch !important; + height: 100% !important; } .nav-header .nav-left .nav-icon img { @@ -1315,6 +1336,13 @@ display: none !important; } + /* 注册按钮容器强制显示 */ + .no-login.nav-desktop-link { + display: flex !important; + height: 100% !important; + align-items: stretch !important; + } + .nav-menu .nav-item { padding: 0 8px; font-size: 13px; @@ -1483,6 +1511,26 @@ .nav-header { height: 48px !important; padding: 0 10px; + display: flex !important; + align-items: stretch !important; + } + + .nav-header .nav-left { + display: flex !important; + align-items: stretch !important; + flex: 1; + } + + .nav-header .nav-right { + display: flex !important; + align-items: stretch !important; + height: 100% !important; + } + + .nav-right { + display: flex !important; + align-items: stretch !important; + height: 100% !important; } .nav-header .nav-left .nav-icon img { @@ -1491,6 +1539,13 @@ margin-right: 8px; } + /* 注册按钮容器强制显示 */ + .no-login.nav-desktop-link { + display: flex !important; + height: 100% !important; + align-items: stretch !important; + } + .nav-menu .nav-item { padding: 0 6px; font-size: 12px;