Commit b29f9c4e by kokoroli

fix:top menu style #137

parent 5549d2d4
...@@ -229,7 +229,7 @@ body { ...@@ -229,7 +229,7 @@ body {
} }
} }
.ant-menu.ant-menu-horizontal { .ant-menu.ant-menu-horizontal {
flex: 1 1; flex: 0 1 auto;
white-space: normal; white-space: normal;
} }
} }
...@@ -250,16 +250,19 @@ body { ...@@ -250,16 +250,19 @@ body {
height: 64px; height: 64px;
.ant-menu.ant-menu-horizontal { .ant-menu.ant-menu-horizontal {
max-width: 835px;
flex: 0 1 835px;
border: none; border: none;
height: 64px; height: 64px;
line-height: 64px; line-height: 64px;
} }
.header-index-left { .header-index-left {
flex: 1 1; flex: 0 1 1000px;
display: flex; display: flex;
.logo.top-nav-header { .logo.top-nav-header {
flex: 0 0 165px;
width: 165px; width: 165px;
height: 64px; height: 64px;
position: relative; position: relative;
...@@ -286,7 +289,7 @@ body { ...@@ -286,7 +289,7 @@ body {
} }
.header-index-right { .header-index-right {
flex: 0 0 auto; flex: 1 0 auto;
height: 64px; height: 64px;
overflow: hidden; overflow: hidden;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment