[wp-trac] [WordPress Trac] #43675: UI adjustments for comments and posts timestamp inputs . Make the input text look centralized.

WordPress Trac noreply at wordpress.org
Sat Mar 16 00:39:55 UTC 2019


#43675: UI adjustments for comments and posts timestamp inputs . Make the input
text look centralized.
-------------------------------------------------+-------------------------
 Reporter:  birgire                              |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  low                                  |   Milestone:  5.2
Component:  General                              |     Version:
 Severity:  minor                                |  Resolution:
 Keywords:  ui-feedback has-screenshots 2nd-     |     Focuses:  ui,
  opinion has-patch needs-design                 |  administration
-------------------------------------------------+-------------------------

Comment (by birgire):

 Thanks for the review @melchoyce

 For comparison I checked how it's in the block editor, for WordPress
 5.1.1:

 - The screenshot is in [attachment:"block-editor-has-text-aligned-date-
 time-input-in-version-5-1-1.jpg"].
 - There the number fields, that represent date-time, use {{{text-align:
 center;}}} to align the numbers.
 - Same for rtl, as seen in screenshot [attachment:"block-editor-has-text-
 aligned-date-time-input-in-version-5-1-1-rtl.jpg"].

 I had a look at it in Microsoft Edge, for WordPress 5.1.1, where the
 quick-edit date-time number inputs also look center-aligned but not on the
 post- and comment edit's screens:
 - [attachment:"quick-edit-post-version-5-1-1-in-edge-browser.jpg"]
 - [attachment:"classical-editor-edit-post-version-5-1-1-in-edge-
 browser.jpg"]
 - [attachment:"edit-comment-version-5-1-1-in-edge-browser.jpg"]

 Having a consistent alignment on the date-time input fields would be
 great.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43675#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list