From b8a0234bed942b45d1f54a659b985d577f0b4c88 Mon Sep 17 00:00:00 2001 From: Nick Diego Date: Fri, 16 Jul 2021 11:32:43 -0400 Subject: [PATCH] Remove padding from Home Link block (#33461) No other link block in core includes padding, yet the Home Link block does. This forces theme developers to override this padding to ensure link consistency. Removing this default padding will improve implementation of the Navigation block. The current workaround it to use a Custom Link that manually directs to the site's homepage. --- packages/block-library/src/home-link/style.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/block-library/src/home-link/style.scss b/packages/block-library/src/home-link/style.scss index 76f91efc58112..88670dfe9ab7e 100644 --- a/packages/block-library/src/home-link/style.scss +++ b/packages/block-library/src/home-link/style.scss @@ -4,7 +4,6 @@ // Inherit colors set by the block color definition. color: inherit; display: block; - padding: 0.5em 1em; } // Force links to inherit text decoration applied to navigation block.