0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-04 16:52:38 +00:00

Added in A4 letter size button and removed changelog button from the sare page

This commit is contained in:
Scott Tolksdorf
2016-02-29 20:20:26 -05:00
parent 62448043c4
commit d2424d839a
4 changed files with 12 additions and 1 deletions

View File

@@ -115,5 +115,12 @@ module.exports = [
}
},
{
tooltip : "A4 Page Size",
icon : 'fa-file',
snippet : function(){
return '<style>\n.phb{\n width : 210mm;\n height : 297mm;\n}\n</style>';
}
}
]

View File

@@ -29,6 +29,7 @@ var SharePage = React.createClass({
lastUpdated={this.props.entry.updatedAt}
views={this.props.entry.views}
printId={this.props.entry.shareId}
shareId={this.props.entry.shareId}
/>
<PageContainer text={this.props.entry.text} />