[wp-trac] [WordPress Trac] #22317: Set min height on media UI sidebar

WordPress Trac noreply at wordpress.org
Tue Oct 30 16:43:45 UTC 2012


#22317: Set min height on media UI sidebar
-----------------------------+--------------------------
 Reporter:  apeatling        |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Media
  Version:  trunk            |   Severity:  normal
 Keywords:  has-patch        |
-----------------------------+--------------------------
 Running r22327 on Chrome 22.0.1229.94.

 '''Issue:'''

 In the new media UI the sidebar "Drop files here" dropzone will overlap
 the search and title in the sidebar if the window height is smaller that
 the space needed for both.

 '''To reproduce:'''

 Resize the window height with the media UI showing. Anything less than
 250px will cause the UI elements to overlap in the sidebar.

 '''Solution:'''

 Patch attached that sets min-height of 250px on .media-sidebar in order to
 stop the sidebar UI elements from overalapping.

 The min height could also be placed on .media-modal but the entire modal
 will be limited then and it's still usable at heights less than 250px. The
 modal will also be limited if there are views without the sidebar present.

 This doesn't take into account items added to the sidebar that will need
 more height, but I think fixing it for the base set of UI elements fine to
 start with.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22317>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list