From 8de9b7a34bc0c089aa367ea7c211f917fed83f8f Mon Sep 17 00:00:00 2001 From: Sashanoraa Date: Sat, 28 May 2022 07:18:35 -0400 Subject: [PATCH] [frontend] Add padding to the bottom of main (#616) This way the footer doesn't touch on the content on mobile. Signed-off-by: Sashanoraa --- web/assets/base.css | 3 ++- web/gotosocial-styling/templates/base.css | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/web/assets/base.css b/web/assets/base.css index 0ba9252c6..eb49cc3ab 100644 --- a/web/assets/base.css +++ b/web/assets/base.css @@ -18,6 +18,7 @@ main { background: #525c66; display: grid; padding-top: 2rem; + padding-bottom: 2rem; grid-template-columns: 1fr 50% 1fr; grid-template-columns: auto min(92%, 90ch) auto; } @@ -225,4 +226,4 @@ footer a { section.apps .applist { grid-template-columns: 1fr; } -} \ No newline at end of file +} diff --git a/web/gotosocial-styling/templates/base.css b/web/gotosocial-styling/templates/base.css index 4ac639a38..1afc2be6f 100644 --- a/web/gotosocial-styling/templates/base.css +++ b/web/gotosocial-styling/templates/base.css @@ -18,6 +18,7 @@ main { background: $bg; display: grid; padding-top: 2rem; + padding-bottom: 2rem; grid-template-columns: 1fr 50% 1fr; grid-template-columns: auto min(92%, 90ch) auto; @@ -223,4 +224,4 @@ footer { section.apps .applist { grid-template-columns: 1fr; } -} \ No newline at end of file +}