Skip to content

Buttons Block: Add a way to control button padding  #31731

@alaczek

Description

@alaczek

It would be useful to have padding controls for individual buttons. We recently added font-size controls, which is a great start, but having padding controls would give us full creative freedom independent of the theme. This would be especially useful when the theme is setting large padding on buttons by default making it impossible to create smaller, compact buttons.

Here's an example from the Seedlet theme.
If I wanted to create a button like this:
image
it would not be possible, because the theme sets default button padding at 23px. So even if I adjusted font-size, it would look like this:
image

Somewhat related to: #29098

Metadata

Metadata

Assignees

Labels

[Block] ButtonsAffects the Buttons Block[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Type] EnhancementA suggestion for improvement.

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions