mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-28 15:37:49 +02:00
Add Recent Posts button at bottom of blog posts
This commit is contained in:
parent
523d824651
commit
c6bdc81376
2 changed files with 19 additions and 0 deletions
|
@ -40,6 +40,14 @@ class BlogPostLayout extends React.Component {
|
|||
config={this.props.config}
|
||||
/>
|
||||
</div>
|
||||
<div className="blog-recent-bar">
|
||||
<a
|
||||
className="blog-recent button"
|
||||
href={this.props.config.baseUrl + "blog"}
|
||||
>
|
||||
Recent Posts
|
||||
</a>
|
||||
</div>
|
||||
</Container>
|
||||
</div>
|
||||
</Site>
|
||||
|
|
|
@ -1554,6 +1554,17 @@ table tr th {
|
|||
overflow: hidden;
|
||||
width: 70px;
|
||||
}
|
||||
.blog-recent-bar {
|
||||
margin: 20px 0;
|
||||
}
|
||||
.blog-recent {
|
||||
float: left;
|
||||
}
|
||||
@media only screen and (min-device-width: 360px) and (max-device-width: 736px) {
|
||||
.blog-recent-bar {
|
||||
height: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
.header-link {
|
||||
position: absolute;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue