mirror of
https://github.com/zuiidea/antd-admin
synced 2026-10-28 20:03:57 +00:00
siderMenu scrollbar
This commit is contained in:
@@ -106,12 +106,17 @@
|
||||
transition: @transition-ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.siderMenu {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
max-height: ~"calc(100% - 88px)"; // https://github.com/less/less.js/issues/974
|
||||
max-height: ~"calc(100% - 88px)";
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.switchtheme {
|
||||
@@ -126,7 +131,7 @@
|
||||
padding: 0 16px 0 24px;
|
||||
overflow: hidden;
|
||||
z-index: 1000;
|
||||
|
||||
|
||||
span {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
|
||||
Reference in New Issue
Block a user