This repository has been archived by the owner on Jan 26, 2022. It is now read-only.
Anchor button and native buttons have different border definitions #295
Labels
[Type] Bug
Something isn't working
Describe the bug
Buttons that are
a
tags do not have borders, however, buttons that are actual buttons (such asbutton
andinput type="submit/reset"
) do have the default browser border.Expected behavior
Visual consistency between all sorts of buttons:
<a />
;<button />
;<input type="submit" />
;<input type="reset" />
.Screenshots
Steps To Reproduce
wp theme activate pub/twentytwentytwo --url=<site-url>
;Poll
block and some answers;Verify that buttons are different.
You can also inject this snippet in your local copy:
Additional context
We're missing a couple of style overrides on the
Button
block:Applying that patch to
theme.json
make all variations look exactly the same:The text was updated successfully, but these errors were encountered: