Skip to content

Commit 8524810

Browse files
authored
Merge pull request #150 from ts-react/v1
V1
2 parents fa189c4 + d0cb1e8 commit 8524810

File tree

4 files changed

+288
-149
lines changed

4 files changed

+288
-149
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@
100100
"stylelint-order": "^3.0.0",
101101
"stylelint-prettier": "^1.1.1",
102102
"typescript": "^3.5.1",
103-
"umi": "^2.6.17",
104-
"umi-plugin-react": "^1.7.5",
105-
"umi-types": "^0.3.2"
103+
"umi": "^2.7.3",
104+
"umi-plugin-react": "^1.8.2",
105+
"umi-types": "^0.3.7"
106106
},
107107
"husky": {
108108
"hooks": {

src/components/sidebar-menu/sidebar-menu.less

+5
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@
4545
}
4646
}
4747

48+
.ant-menu-root {
49+
height: ~'calc(100vh - @{nav-header-height})';
50+
overflow-y: auto;
51+
}
52+
4853
&.is-collapsed {
4954
// 请根据项目logo自行调整
5055
.lotus-sidebar-menu__logo > img {

src/global.less

+1-2
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,9 @@ ol {
5050
// 美化滚动条
5151
::-webkit-scrollbar {
5252
width: 5px;
53-
height: 5px
5453
}
5554

5655
::-webkit-scrollbar-thumb {
57-
background: #ccc;
56+
background: transparent;
5857
border-radius: 4px;
5958
}

0 commit comments

Comments
 (0)