Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default button and outline variation have different padding #53

Open
itsamoreh opened this issue Aug 18, 2023 · 0 comments
Open

Default button and outline variation have different padding #53

itsamoreh opened this issue Aug 18, 2023 · 0 comments

Comments

@itsamoreh
Copy link
Collaborator

itsamoreh commented Aug 18, 2023

On a fresh install, the default button and outline button have different padding.

screen-capture 2023-08-18 at 3 59 25 PM

Looks like this is happening because there are different numbers defined in theme.json for

"elements" : { "buttons": { "spacing": { ... } } }

and

"core/button": { "spacing": { ... } }

To reproduce:

  1. Get a fresh install of wd_f on the main branch
  2. Add a test page with a default button and a button with the outline variation
  3. Observe that the padding is different
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant