From 8e9cfe39c7ac2f49dcaf6abe295d8e80e7c2e7e8 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Wed, 12 Sep 2018 13:58:37 +0200 Subject: [PATCH] margins for info pages on small screens --- src/wolnelektury/static/scss/main/base.scss | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/wolnelektury/static/scss/main/base.scss b/src/wolnelektury/static/scss/main/base.scss index 0923f8091..385393352 100755 --- a/src/wolnelektury/static/scss/main/base.scss +++ b/src/wolnelektury/static/scss/main/base.scss @@ -83,15 +83,21 @@ ul.plain { .left-column, .right-column { @include size(max-width, 600px); + @include size(padding-left, 1em); + @include size(padding-right, 1em); } @media screen and (min-width: 62.5em) { - .left-column { + .left-column .right-column { @include size(width, 470px); + padding-left: 0; + padding-right: 0; + } + + .left-column { float: left; } .right-column { - @include size(width, 470px); float: right; } } -- 2.20.1