Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

set min-height for pages when printing

Amruth Pillai96ab340b1c6f
diff --git a/gatsby-config.js b/gatsby-config.js
index 3f22d5a44..17ecc1d86 100644
--- a/gatsby-config.js
+++ b/gatsby-config.js
@@ -5,7 +5,7 @@ module.exports = {
title: 'Reactive Resume',
siteUrl: 'https://rxresu.me',
description: 'A free and open source resume builder.',
- version: '2.3.4',
+ version: '2.3.5',
},
plugins: [
'gatsby-plugin-react-helmet',
diff --git a/src/styles/global.css b/src/styles/global.css
index e893ce3e0..978e96364 100644
--- a/src/styles/global.css
+++ b/src/styles/global.css
@@ -60,6 +60,11 @@ section {
}
@media print {
+ html,
+ body {
+ background-color: white;
+ }
+
html,
body,
body * {
@@ -75,6 +80,7 @@ section {
#page {
width: 21cm;
+ min-height: 29.7cm;
position: absolute;
text-align: start;
top: 0;