Skip to content
This repository has been archived by the owner on Nov 10, 2020. It is now read-only.

Commit

Permalink
fix spacing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gemfarmer committed Feb 8, 2017
1 parent 6ed55c5 commit de1ae9b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions _sass/_grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ $massive-up: new-breakpoint(min-width $massive);
@media only screen and (min-width: $tiny) { @content; }
} @else if $media == tiny-to-small {
@media only screen and (min-width: $tiny) and (max-width: $small) { @content; }
} @else if $media == tiny-to-medium {
@media only screen and (min-width: $tiny) and (max-width: $medium) { @content; }
} @else if $media == small-down {
@media only screen and (max-width: $small) { @content; }
} @else if $media == small-up {
Expand Down
10 changes: 9 additions & 1 deletion _sass/components/_ribbon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@

&.ribbon-card-home {
padding-top: $base-padding-extra;

@include respond-to(tiny-to-medium) {
padding-top: 0;
}
}
}

Expand All @@ -197,8 +201,12 @@
padding-top: $base-padding-large;

&.ribbon-hero-home {
padding-bottom: $base-padding-jumbo;
padding-top: $base-padding-jumbo;
padding-top: $base-padding-extra;

@include respond-to(tiny-to-medium) {
padding-bottom: 0;
}
}

&.ribbon-hero-column {
Expand Down

0 comments on commit de1ae9b

Please sign in to comment.