Skip to content

Commit

Permalink
Merge pull request #255 from thewheat/fix-responsive-layout-for-discu…
Browse files Browse the repository at this point in the history
…ssions

Fixes #233 responsive layout for Discussions on home page
  • Loading branch information
xMartin authored Oct 14, 2018
2 parents 1258cf2 + 0ac3407 commit 5c89dfd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
3 changes: 0 additions & 3 deletions _sass/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -476,15 +476,12 @@ ul.nav {


.discussion {
width: 75%;
margin: 0 auto;
margin-bottom: 0;
}

.topic {
padding: 15px 0;
width: 50%;
display: inline-block;
vertical-align: top;
.metadata {
opacity: 0.6;
Expand Down
9 changes: 9 additions & 0 deletions _sass/_mediaqueries.scss
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@
margin-top: 2.4em;
}
}

.discussion {
width: 75%;
}

.topic {
width: 50%;
display: inline-block;
}
}


Expand Down

0 comments on commit 5c89dfd

Please sign in to comment.