From 0ac340740a82cdc2cae1753ba15b5fcbadd44219 Mon Sep 17 00:00:00 2001 From: Timothy Lim Date: Sun, 7 Oct 2018 22:47:17 +0800 Subject: [PATCH] Fix responsive layout for Discussions on home page --- _sass/_main.scss | 3 --- _sass/_mediaqueries.scss | 9 +++++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/_sass/_main.scss b/_sass/_main.scss index 5211072..316a976 100644 --- a/_sass/_main.scss +++ b/_sass/_main.scss @@ -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; diff --git a/_sass/_mediaqueries.scss b/_sass/_mediaqueries.scss index 789144c..edf937c 100644 --- a/_sass/_mediaqueries.scss +++ b/_sass/_mediaqueries.scss @@ -119,6 +119,15 @@ margin-top: 2.4em; } } + + .discussion { + width: 75%; + } + + .topic { + width: 50%; + display: inline-block; + } }