From 7684fde8e5705f8e07a0ea35446114a5b12b8826 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Sun, 6 Sep 2020 14:21:45 +0200 Subject: [PATCH] global rule for flex column. --- src/styles/global.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/styles/global.scss b/src/styles/global.scss index 57e3251..f5fc2ac 100644 --- a/src/styles/global.scss +++ b/src/styles/global.scss @@ -74,6 +74,16 @@ body { margin-right: 2rem; } + &.column { + flex-direction: column; + align-items: center; + + > * { + margin-right: unset; + margin-bottom: 1rem; + } + } + @include mobile { &:not(.row) { flex-direction: column;