Merge pull request #6281 from huwence/fix_split_nested_style

fix: Nested style in Split component will cause error
This commit is contained in:
debugIsFalse 2019-09-20 10:03:38 +08:00 committed by GitHub
commit 27f01b36a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,14 +100,14 @@
} }
} }
&-horizontal { &-horizontal {
.@{split-prefix-cls}-trigger-con { >.@{split-prefix-cls}-trigger-con {
top: 50%; top: 50%;
height: 100%; height: 100%;
width: 0; width: 0;
} }
} }
&-vertical { &-vertical {
.@{split-prefix-cls}-trigger-con { >.@{split-prefix-cls}-trigger-con {
left: 50%; left: 50%;
height: 0; height: 0;
width: 100%; width: 100%;