0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

Add Square Page snippet

Add a snippet to Print menu (renamed to "Page") for a square page.  Reduces padding and removes columns as well.
This commit is contained in:
Gazook89
2021-08-10 21:46:47 -05:00
parent 3cf5dc74bb
commit 9a44cc04b1

View File

@@ -285,14 +285,14 @@ module.exports = [
/**************** PRINT *************/
/**************** PAGE *************/
{
groupName : 'Print',
groupName : 'Page',
icon : 'fas fa-print',
snippets : [
{
name : 'A4 PageSize',
name : 'A4 Page Size',
icon : 'far fa-file',
gen : ['<style>',
' .phb{',
@@ -302,6 +302,19 @@ module.exports = [
'</style>'
].join('\n')
},
{
name : 'Square Page Size',
icon : 'far fa-file',
gen : ['<style>',
' .page {',
' width:5.25in;',
' height:5.25in;',
' padding:.5in;',
' columns:unset;',
' }',
'</style>'
].join('\n')
},
{
name : 'Ink Friendly',
icon : 'fas fa-tint',