From 0097954fcc8908f4a114de6682632ff0ec0ee90f Mon Sep 17 00:00:00 2001 From: Steven H Johnson <shjohnson.pi@gmail.com> Date: Thu, 23 Jun 2016 21:33:24 -0400 Subject: [PATCH] Fix columned paragraphs in home page document. Add margin to it as well. --- static/css/sass/_content_frontPage.scss | 8 ++++---- static/css/usta.css | 10 ++++------ 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/static/css/sass/_content_frontPage.scss b/static/css/sass/_content_frontPage.scss index 134d274..9e56c52 100644 --- a/static/css/sass/_content_frontPage.scss +++ b/static/css/sass/_content_frontPage.scss @@ -111,9 +111,9 @@ } #front-page-center { - @include display-flex; // Display as flex. - /*@include justify-content(center);*/// Main axis alignment. - @include flex-grow(1); + /*@include display-flex; // Display as flex. + @include justify-content(center); // Main axis alignment. + @include flex-grow(1);*/ @media (max-width: $tablet-max) { @include order(3); @@ -167,7 +167,7 @@ } #front-page-center { - margin-bottom: 10px; + margin: 10px; } #front-page-right { diff --git a/static/css/usta.css b/static/css/usta.css index dc5b2ba..a32f2c8 100644 --- a/static/css/usta.css +++ b/static/css/usta.css @@ -1647,11 +1647,9 @@ nav img { display: none; } } #front-page-center { - display: -webkit-flex; - display: flex; - /*@include justify-content(center);*/ - -webkit-flex-grow: 1; - flex-grow: 1; } + /*@include display-flex; // Display as flex. + @include justify-content(center); // Main axis alignment. + @include flex-grow(1);*/ } @media (max-width: 1023px) { #front-page-center { -webkit-order: 3; @@ -1678,7 +1676,7 @@ nav img { max-height: 198px; } #front-page-center { - margin-bottom: 10px; } + margin: 10px; } #front-page-right { width: 310px; -- GitLab