WebDevStudios / wd_f

GNU General Public License v2.0
11 stars 1 forks source link

Default button and outline variation have different padding #53

Open itsamoreh opened 1 year ago

itsamoreh commented 1 year ago

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