Skip to content

Commit 9b4630f

Browse files
author
Emmanouil Konstantinidis
committed
Better responsiveness / styling
1 parent c8ea6bb commit 9b4630f

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

rest_framework_docs/static/rest_framework_docs/css/style.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rest_framework_docs/static/rest_framework_docs/js/components/request/methods.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var Methods = React.createClass({
3030

3131
render: function () {
3232
return (
33-
<div>
33+
<div className='text-center'>
3434
<Header title='Method' />
3535
<div className='btn-group methods'>
3636
{this.state.methods.map(function (method, i) {

rest_framework_docs/static/rest_framework_docs/js/dist.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rest_framework_docs/static/rest_framework_docs/less/style.less

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,10 @@ body {
181181

182182
.modal {
183183

184-
h3 {
185-
margin-top: 0;
184+
@media (min-width: @screen-md-min) {
185+
h3 {
186+
margin-top: 0;
187+
}
186188
}
187189

188190
.control-label {

0 commit comments

Comments
 (0)