Skip to content

Commit

Permalink
fix(MdSelect): fix select position under md-dialog (#1525)
Browse files Browse the repository at this point in the history
Select content is begind dialog after commit f0a7325 .
Css specificity should not same as MdMenuContent.

fix #1149
  • Loading branch information
onjiro authored and marcosmoura committed Mar 27, 2018
1 parent 2e9ba11 commit f7990c5
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions src/components/MdField/MdSelect/MdSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -336,18 +336,16 @@
border: 0;
}
}
.md-menu-content {
.md-menu-content.md-select-menu {
z-index: 111;
&.md-select-menu {
width: 100%;
width: 100%;
&.md-menu-content-enter {
transform: translate3d(0, -8px, 0) scaleY(.3);
}
&.md-menu-content-enter {
transform: translate3d(0, -8px, 0) scaleY(.3);
}
.md-list {
transition: opacity .3s $md-transition-drop-timing;
}
.md-list {
transition: opacity .3s $md-transition-drop-timing;
}
}
</style>

0 comments on commit f7990c5

Please sign in to comment.