Skip to content

Commit

Permalink
fix: z-index issues (#1264)
Browse files Browse the repository at this point in the history
* feat(MdCard): remove z-index to prevent card overlap FAB

* fix(MdSelect): fix select content under dialog

* refactor(MdSelect): change order of scss

* docs: remove z-index from main-nav (#1134)

* Revert "feat(MdCard): remove z-index to prevent card overlap FAB"

This reverts commit 9e12806.

* feat(MdButton): add fab z-index to prevent overlap
  • Loading branch information
Samuell1 authored and marcosmoura committed Dec 19, 2017
1 parent 9f61c0b commit 843056d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
1 change: 0 additions & 1 deletion docs/app/template/MainNav.vue
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
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
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>

0 comments on commit 843056d

Please sign in to comment.