[wp-trac] [WordPress Trac] #26396: Implement a generic clearfix

WordPress Trac noreply at wordpress.org
Mon Jan 4 01:07:05 UTC 2016


#26396: Implement a generic clearfix
----------------------------+-----------------------
 Reporter:  helen           |       Owner:  afercia
     Type:  enhancement     |      Status:  assigned
 Priority:  low             |   Milestone:  4.5
Component:  Administration  |     Version:  4.4
 Severity:  minor           |  Resolution:
 Keywords:  needs-patch     |     Focuses:  ui
----------------------------+-----------------------

Comment (by afercia):

 Replying to [comment:9 michaelarestad]:
 > we could remove the need for `.nav-tab-wrapper` and any other classes
 using the rules for a clearfix.
 Thinking probably it's not so easy. For example:
 - plugins already use the "Tabs" so removing the clearfix from `.nav-tab-
 wrapper` will break their layout since it's unlikely plugins authors are
 going to add `.wp-clearfix`
 - stuff that can be enqueued in the frontend (e.g. Editor, Media Modals)
 would need a clearfix rule in a file that's available in the frontend
 I'd say that for now the most important thing is introducing the new
 clearfix and use it for new developments. See proposed patch. Any thoughts
 more than welcome.

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


More information about the wp-trac mailing list