Swap locations for Prev/Next links.
Summary: This reverts a change in #10660 that swapped the locations of the prev/next links across the entire site. It made sense in the blog, but not so much in the docs. Closes https://github.com/facebook/react-native/pull/10753 Differential Revision: D4133501 Pulled By: lacker fbshipit-source-id: 92ee35b1bd5575401e548f8290db3fb7cf0f56a1
This commit is contained in:
parent
ac19276534
commit
1ceb2f7519
|
@ -46,10 +46,10 @@ var BlogPageLayout = React.createClass({
|
|||
})
|
||||
}
|
||||
<div className="docs-prevnext">
|
||||
{MetadataBlog.files.length > (page + 1) * perPage &&
|
||||
<a className="docs-next" href={this.getPageURL(page + 1)}>← Older posts</a>}
|
||||
{page > 0 &&
|
||||
<a className="docs-prev" href={this.getPageURL(page - 1)}>Newer posts →</a>}
|
||||
<a className="docs-prev" href={this.getPageURL(page - 1)}>← Newer posts</a>}
|
||||
{MetadataBlog.files.length > (page + 1) * perPage &&
|
||||
<a className="docs-next" href={this.getPageURL(page + 1)}>Older posts →</a>}
|
||||
</div>
|
||||
</section>
|
||||
</Site>
|
||||
|
|
|
@ -745,11 +745,11 @@ h1:hover .hash-link, h2:hover .hash-link, h3:hover .hash-link, h4:hover .hash-li
|
|||
}
|
||||
|
||||
.docs-prev {
|
||||
float: right;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.docs-next {
|
||||
float: left;
|
||||
float: right;
|
||||
}
|
||||
|
||||
section.black content {
|
||||
|
|
Loading…
Reference in New Issue