Skip to content

Commit 2e7907c

Browse files
committed
fix: GlobalLayout style
1 parent 3d7acb7 commit 2e7907c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/components/page/GlobalLayout.vue

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -349,8 +349,8 @@ export default {
349349
}
350350
351351
.logo.top-nav-header {
352+
flex: 0 0 56px;
352353
text-align: center;
353-
width: 56px;
354354
line-height: 58px;
355355
h1 {
356356
display: none;
@@ -388,7 +388,8 @@ export default {
388388
}
389389
}
390390
.ant-menu.ant-menu-horizontal {
391-
max-width: 350px;
391+
flex: 1 1;
392+
white-space: normal;
392393
}
393394
}
394395
}
@@ -411,8 +412,6 @@ export default {
411412
border: none;
412413
height: 64px;
413414
line-height: 64px;
414-
width: 100%;
415-
max-width: 700px;
416415
}
417416
418417
.header-index-left {
@@ -446,7 +445,7 @@ export default {
446445
}
447446
448447
.header-index-right {
449-
float: right;
448+
flex: 0 0 198px;
450449
height: 64px;
451450
overflow: hidden;
452451
}

0 commit comments

Comments
 (0)