Skip to content

Commit

Permalink
fix(subheader): Set styles to allow click/hover when stickied.
Browse files Browse the repository at this point in the history
Previously, the inner DIVs of the subheader component were not set
to use `display: block`, so you could potentially have contents
that were inaccessible.

fixes angular#3932. closes 4280.
  • Loading branch information
topherfangio authored and kennethcachia committed Sep 23, 2015
1 parent 1cf9859 commit b1e7574
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/subheader/subheader.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,12 @@ $subheader-sticky-shadow: 0px 2px 4px 0 rgba(0,0,0,0.16) !default;
position: relative;

.md-subheader-inner {
display: block;
padding: $subheader-padding;
}

.md-subheader-content {
display: block;
z-index: 1;
position: relative;
}
Expand Down

0 comments on commit b1e7574

Please sign in to comment.