Skip to content

Commit

Permalink
Remove padding from Home Link block (#33461)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ndiego authored and gwwar committed Jul 19, 2021
1 parent b605256 commit b8a0234
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/block-library/src/home-link/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b8a0234

Please sign in to comment.