-
Notifications
You must be signed in to change notification settings - Fork 63
Update the button styles in Pitch style variation #216
Comments
I believe this is because we can't yet style the outline button via theme.json. I think the only way to make these consistent would be to remove the custom padding from @richtabor @beafialho what do you think we should do here? |
What's keeping us from doing that? |
This variation is adding additional padding to buttons:
I think this works really well overall, however it isn't applied to the outline style of buttons, so it causes the issue in @madhusudhand's screenshot. I don't think we're setting button padding anywhere else, so I think that's why it's the first time we've seen this. |
... I completely misread your question, sorry 🙈
We can't yet style the outline buttons using theme.json. There's an open issue here: WordPress/gutenberg#42794, however, I'm not sure how likely it is that Gutenberg is going to support this any time soon. |
Thank you @mikachan! We could add that issue to #30, but if it doesn't happen soon, my suggestion is to align the padding of the filled button with the outlined button. However, I'd like to hear @richtabor 's thoughts. |
@beafialho @mikachan Found a work around to fix the issue, created #237 |
Fill and outline buttons are having different sizes in Pitch style variation.
Expectation:
Outline button size (padding) should match with fill button.
The text was updated successfully, but these errors were encountered: