Skip to content

Commit b277d6a

Browse files
committed
Revert "perf: nav style"
This reverts commit 95b0653.
1 parent 56c7f62 commit b277d6a

3 files changed

Lines changed: 8 additions & 10 deletions

File tree

src/app/elements/nav/nav.component.scss

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,12 @@
44
}
55
}
66

7-
:host {
8-
display: block;
9-
height: 30px;
10-
}
11-
127
.nav {
138
display: flex;
14-
height: 30px;
15-
box-sizing: border-box;
169
justify-content: space-between;
1710
background-color: var(--el-nav-bg-color);
1811
font-weight: 400;
12+
padding-bottom: 1px;
1913

2014
.ant-menu-horizontal > .ant-menu-submenu {
2115
top: 0;

src/app/pages/main/main.component.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@
4242
cursor: col-resize;;
4343
}
4444

45+
elements-nav {
46+
height: 30px;
47+
}
48+
49+
4550
nz-splitter-panel .as-split-area > p {
4651
padding: 5px;
4752
}
@@ -143,4 +148,4 @@ nz-splitter-panel {
143148
// min-width: 71px !important;
144149
// }
145150
// }
146-
}
151+
}

src/sass/ant.less

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88

99
.ant-menu-submenu.ant-menu-submenu-placement-bottom,
1010
.ant-menu-submenu.ant-menu-submenu-popup.ant-menu-submenu-placement-bottomLeft {
11-
// Slightly overlap the trigger so slow pointer movement cannot cross a hover gap.
12-
top: -1px !important;
11+
top: 1px !important;
1312
}
1413

1514
.ant-select {

0 commit comments

Comments
 (0)