Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(subheader): Remove 16px right margin.
Browse files Browse the repository at this point in the history
Previously, the subheader had a 16px right margin that would be
visible and particularly odd if you changed the subheader
background. After recent changes with the subheader now being
stickied to the `<md-content>` instead of the parent, this can
now be removed.

Fixes #4389. Fixes #708. Closes #4419.
  • Loading branch information
topherfangio authored and rschmukler committed Nov 4, 2015
1 parent 71976be commit bb83931
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/subheader/subheader.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
$subheader-line-height: 1em !default;
$subheader-font-size: rem(1.4) !default;
$subheader-padding: ($baseline-grid * 2) 0px ($baseline-grid * 2) ($baseline-grid * 2) !default;
$subheader-padding: ($baseline-grid * 2) !default;
$subheader-font-weight: 500 !default;
$subheader-margin: 0 0 0 0 !default;
$subheader-margin-right: 16px !default;
$subheader-sticky-shadow: 0px 2px 4px 0 rgba(0,0,0,0.16) !default;

@keyframes subheaderStickyHoverIn {
Expand Down Expand Up @@ -53,7 +52,6 @@ $subheader-sticky-shadow: 0px 2px 4px 0 rgba(0,0,0,0.16) !default;
font-weight: $subheader-font-weight;
line-height: $subheader-line-height;
margin: $subheader-margin;
margin-right: $subheader-margin-right;
position: relative;

.md-subheader-inner {
Expand Down

0 comments on commit bb83931

Please sign in to comment.