From 433a3c20a388d9bea8069195cafaa1119ac97d12 Mon Sep 17 00:00:00 2001 From: Ben Dwyer Date: Wed, 25 Aug 2021 15:01:59 +0100 Subject: [PATCH 1/7] Blockbase: Update post meta to use flex --- blockbase/assets/ponyfill.css | 4 ---- blockbase/sass/post/_meta.scss | 3 --- blockbase/theme.json | 1 + mayland-blocks/block-template-parts/post-meta.html | 2 +- mayland-blocks/theme.json | 1 + quadrat/block-templates/single.html | 2 +- quadrat/inc/patterns/query-diamond.php | 2 +- quadrat/theme.json | 1 + seedlet-blocks/block-template-parts/post-meta.html | 2 +- seedlet-blocks/theme.json | 1 + skatepark/block-templates/single.html | 2 +- skatepark/theme.json | 1 + 12 files changed, 10 insertions(+), 12 deletions(-) diff --git a/blockbase/assets/ponyfill.css b/blockbase/assets/ponyfill.css index 1e3ad28c72..f3b0c0caa5 100644 --- a/blockbase/assets/ponyfill.css +++ b/blockbase/assets/ponyfill.css @@ -814,10 +814,6 @@ p.has-background { margin-bottom: unset; } -.post-meta { - display: flex; -} - .post-meta .wp-block-post-author, .post-meta .wp-block-post-date, .post-meta .taxonomy-post_tag, diff --git a/blockbase/sass/post/_meta.scss b/blockbase/sass/post/_meta.scss index 74536c7c1e..ec4395e1a3 100644 --- a/blockbase/sass/post/_meta.scss +++ b/blockbase/sass/post/_meta.scss @@ -1,7 +1,4 @@ .post-meta { - // TODO - needed until https://github.com/WordPress/gutenberg/issues/24473 - display: flex; - .wp-block-post-author, .wp-block-post-date, .taxonomy-post_tag, diff --git a/blockbase/theme.json b/blockbase/theme.json index a902a82738..a63090396e 100644 --- a/blockbase/theme.json +++ b/blockbase/theme.json @@ -314,6 +314,7 @@ "wideSize": "1000px" }, "spacing": { + "blockGap": "var(--wp--custom--margin--horizontal)", "customPadding": true, "units": [ "%", diff --git a/mayland-blocks/block-template-parts/post-meta.html b/mayland-blocks/block-template-parts/post-meta.html index 8cc4e58efe..17515dfd8d 100644 --- a/mayland-blocks/block-template-parts/post-meta.html +++ b/mayland-blocks/block-template-parts/post-meta.html @@ -1,4 +1,4 @@ - +
diff --git a/mayland-blocks/theme.json b/mayland-blocks/theme.json index 0459623f65..ab2f8db7be 100644 --- a/mayland-blocks/theme.json +++ b/mayland-blocks/theme.json @@ -326,6 +326,7 @@ "wideSize": "1000px" }, "spacing": { + "blockGap": "var(--wp--custom--margin--horizontal)", "customPadding": true, "units": [ "%", diff --git a/quadrat/block-templates/single.html b/quadrat/block-templates/single.html index 1fff52f2f9..736b1c6a5e 100644 --- a/quadrat/block-templates/single.html +++ b/quadrat/block-templates/single.html @@ -3,7 +3,7 @@
- +