Skip to content

Commit

Permalink
fix(resume): Push the small-screen breakpoint back 6px to facilit…
Browse files Browse the repository at this point in the history
…ate printing on A4.

Close #18.
  • Loading branch information
randytarampi committed Aug 3, 2018
1 parent ae8b63d commit 5141d96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/css/styles/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ $fa-font-path: ".";

@import "materialize-css/sass/components/variables";

$small-screen: 594px;
$small-screen-up: 595px;

$medium-and-up: "all and (min-width : #{$small-screen-up})";
$large-and-up: "all and (min-width : #{$medium-screen-up})";
$extra-large-and-up: "all and (min-width : #{$large-screen-up})";
Expand Down
2 changes: 2 additions & 0 deletions packages/resume/styles/resume/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
}

@page {
min-width: $small-screen-up;
max-width: $medium-screen;
margin: 0;
}
}

0 comments on commit 5141d96

Please sign in to comment.