[wp-trac] [WordPress Trac] #49013: Alignment of form controls inside a custom meta box
WordPress Trac
noreply at wordpress.org
Fri Feb 14 09:08:15 UTC 2020
#49013: Alignment of form controls inside a custom meta box
-------------------------------------------------+-------------------------
Reporter: dontdream | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.3.3
Component: Administration | Version: 5.3.1
Severity: normal | Resolution: fixed
Keywords: has-screenshots has-patch commit | Focuses: ui, css
fixed-major |
-------------------------------------------------+-------------------------
Comment (by afercia):
Related: https://core.trac.wordpress.org/ticket/48420#comment:20
Vertical alignments never worked very well in the WordPress admin. See the
screenshot below, with the test plugin from this ticket activated on
WordPress 5.2. See the misalignments are unrelated to the CSS changes in
5.3. Not a regression but good to improve it anyways :)
However, as mentioned on ticket:48420#comment:20 vertical alignments would
need to be improved across the whole admin. There are a few options for
that. Using `vertical-align: middle` is one option but it will fail as
soon as one of the elements or associated labels has top/bottom margins.
Looking forward to a second round of admin CSS improvements :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49013#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list