[wp-trac] [WordPress Trac] #50836: Using tags in metaboxes makes them float

WordPress Trac noreply at wordpress.org
Mon Aug 3 18:01:22 UTC 2020


#50836: Using tags in metaboxes makes them float
---------------------------------+-----------------------------
 Reporter:  mnelson4             |      Owner:  (none)
     Type:  defect (bug)         |     Status:  new
 Priority:  normal               |  Milestone:  Awaiting Review
Component:  General              |    Version:  trunk
 Severity:  normal               |   Keywords:
  Focuses:  css, administration  |
---------------------------------+-----------------------------
 WP 5.5 made some CSS changes that makes our plugin's (YARPP) metabox text
 get placed in an unexpectedly different way than before.

 Inside the metabox's header the plugin has been adding `<small>` tags, and
 now all that content gets aligned to the far right right of the metabox,
 while the rest of it is still aligned left, which results in this:


 [[Image(https://user-
 images.githubusercontent.com/1766382/88839120-6c8e1200-d18f-
 11ea-9483-e3a05c16eb7f.png)]]

 Whereas on WP 5.4 and earlier it looked more like this:

 [[Image(https://user-
 images.githubusercontent.com/1766382/88839166-862f5980-d18f-11ea-
 9c17-b24aeee65907.png)]]

 We can workaround it, but I thought I should mention this as other plugin
 authors might experience the same issue, and fix in core might be better.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50836>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list