[new feature] DropdownMenu: add direction prop (#3490)

This commit is contained in:
neverland
2019-06-13 13:09:35 +08:00
committed by GitHub
parent 156ac95382
commit 6b7307a657
10 changed files with 238 additions and 61 deletions

View File

@@ -38,15 +38,14 @@
border: 3px solid;
border-color: transparent transparent currentColor currentColor;
transform: rotate(-45deg);
opacity: .6;
opacity: .8;
content: '';
}
&--active {
&--down {
&::after {
top: 7px;
transform: rotate(135deg);
opacity: 1;
}
}
}