[improvement] TreeSelect: add height prop (#1905)

This commit is contained in:
neverland
2018-10-09 17:08:57 +08:00
committed by GitHub
parent ae15bbd141
commit 396819c355
7 changed files with 23 additions and 20 deletions

View File

@@ -5,7 +5,7 @@
position: relative;
&__nav {
width: 143px;
width: 35%;
position: absolute;
left: 0;
top: 0;
@@ -20,14 +20,20 @@
padding: 0 15px;
background-color: $white;
&:active,
&--active {
background-color: $background-color;
}
&--active {
font-weight: 500;
}
}
&__content {
height: 100%;
padding: 0 15px;
margin-left: 143px;
margin-left: 35%;
overflow: scroll;
-webkit-overflow-scrolling: touch;
}
@@ -38,8 +44,9 @@
padding-left: 5px;
padding-right: 18px;
&:active,
&--active {
color: $button-danger-background-color;
color: $red;
}
}