[new feature] Area add 'title' prop & optimzie Picker performance (#450)

This commit is contained in:
neverland
2017-12-19 09:51:09 +08:00
committed by GitHub
parent 72d4365dfc
commit 48b2026e33
11 changed files with 107 additions and 136 deletions

View File

@@ -9,7 +9,6 @@
&__toolbar {
height: 40px;
line-height: 40px;
overflow: hidden;
}
&__cancel,
@@ -39,18 +38,23 @@
display: flex;
position: relative;
}
&__frame {
top: 50%;
left: 0;
width: 100%;
z-index: 1;
position: absolute;
pointer-events: none;
transform: translateY(-50%);
}
&-column {
flex: 1;
overflow: hidden;
font-size: 18px;
position: relative;
text-align: center;
ul {
box-sizing: border-box;
}
li {
padding: 0 10px;
color: $gray-darker;
@@ -64,15 +68,5 @@
li&--disabled {
opacity: .3;
}
&__frame {
top: 50%;
left: 0;
width: 100%;
z-index: 1;
position: absolute;
pointer-events: none;
transform: translateY(-50%);
}
}
}