-
Notifications
You must be signed in to change notification settings - Fork 25
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
New Theme: Pledge your company button too big. #278
Comments
@fcoveram Did the button styles change? I'm using the default filled button style but as Steve mentions, it's ~10px too tall. |
I just checked, and I'm also using the default style from the Design Library in the mockups. Perhaps the default versions of the Figma library and code differ? |
That's my question— they must have matched at some point but something changed. Is it too big everywhere? for example, the buttons in content on https://wordpress.org/ & https://wordpress.org/download/. |
I got the problem. The buttons on wp.org and wp.org/download pages have the right padding (with just 2px of difference on the left and right sides). The difference between designs and production is the label's line-height. In the designs is I played with the value on the inspector, and a value of I'm drawn to apply the change suggested, but I'd like your thoughts first @ryelle? |
There shouldn't be anywhere where a button wraps to cause an issue, and even if so, 1.3 is still a readable height. I've opened an issue in the parent theme to fix this, and it should cascade down to fix this issue, so I'll close this one. |
On the page https://wordpress.org/five-for-the-future-test/pledges/, the "Pledge your company" button is larger than the designs and distracting. Although we don't seem to have button styles that perfectly match the designs, we should probably use the
is-small
button variant.is-small
The text was updated successfully, but these errors were encountered: