Automattic / themes

Free WordPress themes made by Automattic for WordPress.org and WordPress.com.
https://themeshaper.com
GNU General Public License v2.0
900 stars 357 forks source link

Baskerville 2 > Buttons: styles aren't working properly (outline) #5549

Open Gustavo-Hilario opened 2 years ago

Gustavo-Hilario commented 2 years ago

Quick summary

If we set a button with an outline style, the outline will disappear when previewing or saving. Other different strange behaviors happen if we can try other styles.

Steps to reproduce

  1. Enable Baskerville 2 Theme.
  2. Create a new post or page and add a Button block.
  3. Set the style to Outline.
  4. Publish or check the preview.

Note: Other styles aren't working correctly too, but I couldn't find a pattern.

What you expected to happen

I expected the see the button with an outline.

What actually happened

The outline style is gone and the button has no borders.

Context

Customer Report: 4749372-zen

Simple, Atomic or both?

Simple, Atomic

Theme-specific issue?

Baskerville 2

Browser, operating system and other notes

No response

Reproducibility

Consistent

Severity

Some (< 50%)

Available workarounds?

Yes, easy to implement

Workaround details

We can use CSS to add the outline or adjust the button block styles. The code will depend on the colors and style they are using.

MaxPhilip commented 2 years ago

Also happening with theme 'Twenty Twenty', reported in 4830862-ZD and reproduced

the-misha commented 2 years ago

Another user report, Baskerville 2: 15081824-hc / 4880670-zd-woothemes

Possibly related to this issue?

jorpdesigns commented 2 years ago

Reported in 30018635-hc and I provided CSS workaround.