Skip to content

Commit

Permalink
fix(docs): make buttons display block on xs views (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
eddywashere committed Jun 26, 2016
1 parent caa45ce commit fd14292
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/lib/Home/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default () => {
</p>
<p>
<Button color="danger-outline" href="https://github.com/reactstrap/reactstrap">View on Github</Button>
<Button color="danger" tag={Link} to="/components/" className="m-l-1">View Components</Button>
<Button color="danger" tag={Link} to="/components/">View Components</Button>
</p>
</Col>
</Row>
Expand Down
15 changes: 15 additions & 0 deletions docs/static/docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@
margin-bottom: 0
}

.jumbotron .btn {
margin-right: 1rem;
}

.jumbotron .btn + .btn {
margin-right: 0;
}

@media (max-width: 543px) {
.jumbotron .btn {
display: block;
margin: 0 0 1rem 0;
}
}

.content {
margin-top: 2rem;
}
Expand Down

0 comments on commit fd14292

Please sign in to comment.