Skip to content

Commit fd14292

Browse files
authored
fix(docs): make buttons display block on xs views (#46)
1 parent caa45ce commit fd14292

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

docs/lib/Home/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default () => {
2222
</p>
2323
<p>
2424
<Button color="danger-outline" href="https://github.com/reactstrap/reactstrap">View on Github</Button>
25-
<Button color="danger" tag={Link} to="/components/" className="m-l-1">View Components</Button>
25+
<Button color="danger" tag={Link} to="/components/">View Components</Button>
2626
</p>
2727
</Col>
2828
</Row>

docs/static/docs.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,21 @@
66
margin-bottom: 0
77
}
88

9+
.jumbotron .btn {
10+
margin-right: 1rem;
11+
}
12+
13+
.jumbotron .btn + .btn {
14+
margin-right: 0;
15+
}
16+
17+
@media (max-width: 543px) {
18+
.jumbotron .btn {
19+
display: block;
20+
margin: 0 0 1rem 0;
21+
}
22+
}
23+
924
.content {
1025
margin-top: 2rem;
1126
}

0 commit comments

Comments
 (0)