From b4ade01106bf7f856b253e1fbcb236f9a294a1be Mon Sep 17 00:00:00 2001 From: Sarah Norris Date: Fri, 11 Mar 2022 20:40:30 +0000 Subject: [PATCH] Archeo: fix footer spacing at mobile (#5640) * Left align footer items * Add CSS for row-gap * Set header/footer blockGap to small spacing var --- archeo/inc/patterns/footer.php | 6 +++--- archeo/parts/header.html | 2 +- archeo/style.css | 7 +++++++ 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/archeo/inc/patterns/footer.php b/archeo/inc/patterns/footer.php index 9578bb5765..7227044d02 100644 --- a/archeo/inc/patterns/footer.php +++ b/archeo/inc/patterns/footer.php @@ -8,10 +8,10 @@ 'blockTypes' => array( 'core/template-part/footer' ), 'content' => '
- + - -

' . + +

' . sprintf( /* Translators: WordPress link. */ esc_html__( 'Proudly powered by %s', 'archeo' ), diff --git a/archeo/parts/header.html b/archeo/parts/header.html index f3459a84ee..6599cdfa3d 100644 --- a/archeo/parts/header.html +++ b/archeo/parts/header.html @@ -2,7 +2,7 @@

- +
diff --git a/archeo/style.css b/archeo/style.css index 980a15354b..9b24109c45 100644 --- a/archeo/style.css +++ b/archeo/style.css @@ -224,3 +224,10 @@ body > .is-root-container > .wp-block-template-part > .wp-block-cover, height: auto; max-width: 100%; } + +/* + * Needed until https://github.com/WordPress/gutenberg/issues/34529 is fixed. + */ +.site-footer { + row-gap: 0.5rem !important; +}