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

Fix /print, make .page outer element for consistency with legacy

This commit is contained in:
Trevor Buckner
2021-08-26 22:43:57 -04:00
parent 85841d22f5
commit a7005d779a
4 changed files with 17 additions and 21 deletions

View File

@@ -133,8 +133,8 @@ const BrewRenderer = createClass({
else {
pageText += `\n\\column\n `; //Artificial column break at page end to emulate column-fill:auto (until `wide` is used, when column-fill:balance will reappear)
return (
<div className='pageWrapper' id={`p${index + 1}`} key={index} >
<div className='page' dangerouslySetInnerHTML={{ __html: Markdown.render(pageText) }} />
<div className='page' id={`p${index + 1}`} key={index} >
<div className='columnWrapper' dangerouslySetInnerHTML={{ __html: Markdown.render(pageText) }} />
</div>
);
}

View File

@@ -11,12 +11,6 @@
margin-left : auto;
box-shadow : 1px 4px 14px #000;
}
&>.pageWrapper{
margin-right : auto;
margin-bottom : 30px;
margin-left : auto;
box-shadow : 1px 4px 14px #000;
}
}
}
.pane{