[wp-trac] [WordPress Trac] #41486: Admin html element is not full-height

WordPress Trac noreply at wordpress.org
Sat Jul 29 22:19:33 UTC 2017


#41486: Admin html element is not full-height
--------------------------------+-----------------------------
 Reporter:  Cybr                |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  General             |    Version:  trunk
 Severity:  normal              |   Keywords:
  Focuses:  ui, administration  |
--------------------------------+-----------------------------
 The `<html>` tag within `/wp-admin/` has the following CSS property:
 `height: 100%;`.

 This means that the current screen height is taken rather than actual page
 height.
 When you scroll down you can see that the absolute bottom of the `html`
 and `body` objects are cut short:
 [[Image(http://i.imgur.com/bB5AXHc.png)]]

 The solution would be to remove the `height: 100%` CSS rule from `html`.
 `body { height: 100% }` is fine.

 Applications that want to make use of the page height can't calculate
 their position correctly through CSS and therefore they require JavaScript
 or other hacks (e.g. absolute positioning modals).

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


More information about the wp-trac mailing list