Merge pull request #224 from RickCole21/master

fix nested-select style
This commit is contained in:
liaoxuezhi 2019-09-06 15:25:14 +08:00 committed by GitHub
commit 466e4023ee

View File

@ -73,22 +73,13 @@
} }
&-optionArrowRight { &-optionArrowRight {
width: px2rem(32px); display: inline-block;
height: $Form-input-height; position: absolute;
line-height: $Form-input-height; right: px2rem(10px);
cursor: pointer;
float: right;
text-align: center;
position: relative;
svg { svg {
width: px2rem(12px); width: px2rem(12px);
height: px2rem(12px); height: px2rem(12px);
position: absolute;
top: 50%;
left: 50%;
right: 50%;
transform: translate(-50%, -50%);
fill: $Form-input-iconColor; fill: $Form-input-iconColor;
} }
} }
@ -103,6 +94,7 @@
box-shadow: $Form-select-outer-boxShadow; box-shadow: $Form-select-outer-boxShadow;
.#{$ns}NestedSelect-option { .#{$ns}NestedSelect-option {
position: relative;
padding-left: px2rem(10px); padding-left: px2rem(10px);
height: $Form-input-height; height: $Form-input-height;
line-height: $Form-input-height; line-height: $Form-input-height;