From cf2483ac52dfa8d2ec3b23fd7d64a795c333df5c Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 20 Sep 2017 10:04:53 +0200 Subject: [PATCH] remove flexbox from all sections by default * fixes #19 --- _src/_assets/scss/_hero.scss | 3 +++ _src/_assets/scss/_sections.scss | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_src/_assets/scss/_hero.scss b/_src/_assets/scss/_hero.scss index 14cbf6b..b528412 100644 --- a/_src/_assets/scss/_hero.scss +++ b/_src/_assets/scss/_hero.scss @@ -9,6 +9,9 @@ $edge-height: $spacer * 4; min-height: 580px; margin-bottom: $edge-height-sm; position: relative; + display: flex; + flex-wrap: wrap; + align-items: center; @media ($screen-sm) { height: calc(100vh - #{$edge-height}); diff --git a/_src/_assets/scss/_sections.scss b/_src/_assets/scss/_sections.scss index 7bbe3df..20dae5a 100644 --- a/_src/_assets/scss/_sections.scss +++ b/_src/_assets/scss/_sections.scss @@ -4,9 +4,6 @@ .section { padding-top: $spacer * 2; padding-bottom: $spacer * 2; - display: flex; - flex-wrap: wrap; - align-items: center; @media ($screen-sm) { padding-top: $spacer * 5; @@ -20,7 +17,7 @@ text-rendering: optimizeLegibility; .row { - width: 100%; + flex: 0 0 100%; } p:last-child {