Commit 211758fa authored by julien's avatar julien

Merge branch 'page-padding' into 'master'

add support for page padding

Closes #147

See merge request !76
parents 98ee0e31 cdb1c10a
......@@ -4,4 +4,5 @@ dist
lib
__diff_output__
specs/**/*.pdf
issues
\ No newline at end of file
issues
.vscode
\ No newline at end of file
This diff is collapsed.
......@@ -12,6 +12,10 @@ export default `
--pagedjs-margin-right: 1in;
--pagedjs-margin-bottom: 1in;
--pagedjs-margin-left: 1in;
--pagedjs-padding-top: 0mm;
--pagedjs-padding-right: 0mm;
--pagedjs-padding-bottom: 0mm;
--pagedjs-padding-left: 0mm;
--pagedjs-bleed-top: 0mm;
--pagedjs-bleed-right: 0mm;
--pagedjs-bleed-bottom: 0mm;
......@@ -354,6 +358,8 @@ export default `
grid-row: page;
width: 100%;
height: 100%;
padding: var(--pagedjs-padding-top) var(--pagedjs-padding-right) var(--pagedjs-padding-bottom) var(--pagedjs-padding-left)
}
.pagedjs_pagebox > .pagedjs_area > .pagedjs_page_content {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment