Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: z-index issues #1264

Merged
merged 6 commits into from
Dec 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/app/template/MainNav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
top: 64px;
bottom: 0;
left: 0;
z-index: 2;
transition: .3s $md-transition-default-timing;
transition-property: top;

Expand Down
1 change: 1 addition & 0 deletions src/components/MdButton/MdButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@
.md-icon-button,
.md-fab {
border-radius: 50%;
z-index: 10;

&:before {
border-radius: 50%;
Expand Down
24 changes: 13 additions & 11 deletions src/components/MdField/MdSelect/MdSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -311,20 +311,22 @@
border: 0;
}
}
.md-menu-content {
z-index: 111;
&.md-select-menu {
width: 100%;

.md-menu-content.md-select-menu {
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;
}

.md-dense .md-ripple.md-list-item-content {
font-size: 14px;
.md-dense .md-ripple.md-list-item-content {
font-size: 14px;
}
}
}
</style>