From ae0f0e5982f6a3567b2db68a369919b9f6acb230 Mon Sep 17 00:00:00 2001 From: lostinlight Date: Wed, 4 Dec 2019 15:12:15 +0300 Subject: [PATCH] Fix Misc styles --- themes/starter/source/assets/scss/modules/_misc.scss | 6 ++++++ themes/starter/source/assets/scss/partials/_layout.scss | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/themes/starter/source/assets/scss/modules/_misc.scss b/themes/starter/source/assets/scss/modules/_misc.scss index ea1ad99..f3857f1 100644 --- a/themes/starter/source/assets/scss/modules/_misc.scss +++ b/themes/starter/source/assets/scss/modules/_misc.scss @@ -122,6 +122,12 @@ display: none; } +@media screen and (max-width: $mq-large) { + .misc__grid .card { + flex: 32% 0 0; + } +} + @media screen and (max-width: $mq-medium) { .misc__grid .card { flex: 45% 0 0; diff --git a/themes/starter/source/assets/scss/partials/_layout.scss b/themes/starter/source/assets/scss/partials/_layout.scss index 8ab6d77..a6c1192 100644 --- a/themes/starter/source/assets/scss/partials/_layout.scss +++ b/themes/starter/source/assets/scss/partials/_layout.scss @@ -422,6 +422,10 @@ $list: (diaspora, $diaspora), .contents.network { padding: 2em 13% 1.5em; } + + .contents.misc { + padding: 2em 10% 1.5em + } } @media screen and (max-width: $mq-medium) {