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

Commit bb83931

Browse files
topherfangiorschmukler
authored andcommitted
fix(subheader): Remove 16px right margin.
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.
1 parent 71976be commit bb83931

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/subheader/subheader.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
$subheader-line-height: 1em !default;
22
$subheader-font-size: rem(1.4) !default;
3-
$subheader-padding: ($baseline-grid * 2) 0px ($baseline-grid * 2) ($baseline-grid * 2) !default;
3+
$subheader-padding: ($baseline-grid * 2) !default;
44
$subheader-font-weight: 500 !default;
55
$subheader-margin: 0 0 0 0 !default;
6-
$subheader-margin-right: 16px !default;
76
$subheader-sticky-shadow: 0px 2px 4px 0 rgba(0,0,0,0.16) !default;
87

98
@keyframes subheaderStickyHoverIn {
@@ -53,7 +52,6 @@ $subheader-sticky-shadow: 0px 2px 4px 0 rgba(0,0,0,0.16) !default;
5352
font-weight: $subheader-font-weight;
5453
line-height: $subheader-line-height;
5554
margin: $subheader-margin;
56-
margin-right: $subheader-margin-right;
5755
position: relative;
5856

5957
.md-subheader-inner {

0 commit comments

Comments
 (0)