[bugfix] DropdownMenu: incorrect style when inside NavBar (#4098)

This commit is contained in:
neverland
2019-08-12 16:55:01 +08:00
committed by GitHub
parent f728931527
commit 432fdcbe87
5 changed files with 28 additions and 20 deletions
+1
View File
@@ -82,6 +82,7 @@ export default createComponent({
key={option.value}
icon={option.icon}
title={option.text}
class={bem('option')}
style={{ color: active ? activeColor : '' }}
onClick={() => {
this.showPopup = false;
+4
View File
@@ -6,6 +6,10 @@
left: 0;
overflow: hidden;
&__option {
text-align: left;
}
&--up {
top: 0;
}