Skip to content

Commit

Permalink
Fix responsive layout for Discussions on home page
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy Lim committed Oct 7, 2018
1 parent 1258cf2 commit 0ac3407
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 0ac3407

Please sign in to comment.