[wp-trac] [WordPress Trac] #52869: Twenty Twenty-One: Text isn't vertically centered to the checkbox
WordPress Trac
noreply at wordpress.org
Sat Mar 20 11:20:23 UTC 2021
#52869: Twenty Twenty-One: Text isn't vertically centered to the checkbox
-------------------------+-----------------------------
Reporter: ooker | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 5.7
Severity: normal | Keywords: has-screenshots
Focuses: css |
-------------------------+-----------------------------
I think we should add `vertical-align: middle;` into the line 1344 to have
text aligning centerally vertically to the checkbox. Currently the code is
like this:
{{{
@supports (-webkit-appearance: none) or (-moz-appearance: none) {
input[type=checkbox],
input[type=radio] {
-webkit-appearance: none;
-moz-appearance: none;
position: relative;
width: 25px;
height: 25px;
border: var(--form--border-width) solid var(--form
--border-color);
background: var(--global--color-white);
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52869>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list