Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ant-design-pro-vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tianzhuanghu
ant-design-pro-vue
Commits
b29f9c4e
Commit
b29f9c4e
authored
Mar 20, 2019
by
kokoroli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:top menu style #137
parent
5549d2d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
global.less
src/components/global.less
+6
-3
No files found.
src/components/global.less
View file @
b29f9c4e
...
@@ -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;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment