0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-29 19:52:43 +00:00

Fixing auto-incrmetning page numbers with partial page rendering

This commit is contained in:
Scott Tolksdorf
2016-06-09 08:03:54 -04:00
parent e38850f807
commit cd97b22067
4 changed files with 5 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ var Navbar = React.createClass({
<Nav.item href='/' className='homebrewLogo'>
<div>The Homebrewery</div>
</Nav.item>
<Nav.item>v2.2.2</Nav.item>
<Nav.item>v2.2.3</Nav.item>
</Nav.section>
{this.props.children}
</Nav.base>

View File

@@ -40,6 +40,7 @@ body {
}
.phb{
.useColumns();
counter-increment: phb-page-numbers;
position : relative;
z-index : 15;
box-sizing : border-box;
@@ -296,7 +297,7 @@ body {
text-align : center;
&.auto::after {
counter-increment: phb-page-numbers;
content: counter(phb-page-numbers);
}
}