[wp-trac] [WordPress Trac] #49546: Twenty Thirteen: Update calendar widget styles for 5.4 markup

WordPress Trac noreply at wordpress.org
Fri Feb 28 15:01:44 UTC 2020


#49546: Twenty Thirteen: Update calendar widget styles for 5.4 markup
---------------------------------------+---------------------
 Reporter:  sabernhardt                |       Owner:  (none)
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  5.4
Component:  Bundled Theme              |     Version:  trunk
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:  css
---------------------------------------+---------------------

Comment (by sabernhardt):

 Option 1: 49546.patch
 * Uses `display:table` and `display:table-cell` to nearly match the former
 styles (the .pad in between the links is slightly narrower)
 * Reinstates the `line-height` of 2 for the navigation links
 * Moves the table's bottom margin to the `nav` element

 Option 2: 49546.1.patch
 * Simply adds `display:inline-block` to the new `span` elements (it may be
 preferable to add that to the `.wp-calendar-nav span a` elements instead)

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


More information about the wp-trac mailing list