0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-27 13:42:38 +00:00

add .page container div to printPage.jsx

This commit is contained in:
Gazook89
2021-09-16 09:51:16 -05:00
parent 3eee00bea7
commit 837cacc992

View File

@@ -63,7 +63,9 @@ const PrintPage = createClass({
<link href={`${this.props.brew.renderer == 'legacy' ? '/themes/5ePhbLegacy.style.css' : '/themes/5ePhb.style.css'}`} rel='stylesheet'/>
{/* Apply CSS from Style tab */}
<div style={{ display: 'none' }} dangerouslySetInnerHTML={{ __html: `<style> ${this.props.brew.style} </style>` }} />
{this.renderPages()}
<div className='pages'>
{this.renderPages()}
</div>
</div>;
}
});