Skip to content

Commit

Permalink
fix(top-app-bar): Add z-index. Cleanup redundant properties. (#2828)
Browse files Browse the repository at this point in the history
  • Loading branch information
williamernest committed May 25, 2018
1 parent c89b3c4 commit 3f6bbc1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/mdc-top-app-bar/mdc-top-app-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
justify-content: space-between;
box-sizing: border-box;
width: 100%;
z-index: 4;

&__row {
display: flex;
Expand Down Expand Up @@ -77,13 +78,11 @@
}

.mdc-top-app-bar--short {
position: fixed;
top: 0;
right: auto;
left: 0;
width: 100%;
transition: width 250ms $mdc-animation-standard-curve-timing-function;
z-index: 4;

@include mdc-rtl {
right: 0;
Expand Down Expand Up @@ -161,7 +160,6 @@

// stylelint-disable-next-line plugin/selector-bem-pattern
.mdc-top-app-bar--fixed {
position: fixed;
transition: box-shadow 200ms linear;
}

Expand Down

0 comments on commit 3f6bbc1

Please sign in to comment.