From 0e3720169f405a6c6661ad20429cd271e4bcbae7 Mon Sep 17 00:00:00 2001 From: Asher Date: Thu, 27 Feb 2020 12:11:30 -0600 Subject: [PATCH] Add spacing between items Also fix padding not being respected when blocks exceed container height. --- src/browser/pages/global.css | 5 +++-- src/browser/pages/home.css | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/browser/pages/global.css b/src/browser/pages/global.css index 1bd95497..9a22645b 100644 --- a/src/browser/pages/global.css +++ b/src/browser/pages/global.css @@ -1,7 +1,6 @@ html, body, -#root, -.center-container { +#root { height: 100%; width: 100%; } @@ -39,7 +38,9 @@ button { display: flex; flex-direction: column; justify-content: center; + min-height: 100%; padding: 20px; + width: 100%; } .card-box { diff --git a/src/browser/pages/home.css b/src/browser/pages/home.css index 698bbac3..8f3cb119 100644 --- a/src/browser/pages/home.css +++ b/src/browser/pages/home.css @@ -4,6 +4,7 @@ .block-row > .item { flex: 1; + margin: 2px 0; } .block-row > .item.-row {