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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user