Considering this is an admin screen, where contrib modules often add wide tables, the behavior of Overlay hiding overflow is not good. You can see this with the Media module, if you install that module and navigate to Structure > Media Types > Manage (Image) Display (or any of the types). Seems as though the overlay page should be set to overflow: auto.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aaron’s picture

no scroll in overlay

(Click through to see the full image if it's cut off on your browser.)

aaron’s picture

Status: Active » Needs work
FileSize
676 bytes

this patch fixes that particular problem, but unfortunately adds a vertical scrollbar to all pages....

aaron’s picture

Issue tags: +overlay, +Seven

not sure if this would technically be an Overlay problem or a Seven theme. tagging for both, and folks can switch if it's more appropriate (though i would argue it's an overlay problem, since the seven theme doesn't depend on overlay, and in fact works fine with overlay turned off).

aaron’s picture

Status: Needs work » Needs review

actually, marking for review, because this is the only way short of js magic i can think of to make wide tables work in overlay.

cosmicdreams’s picture

#2: overlay-fix-clip.739420.2.patch queued for re-testing.

RobLoach’s picture

Status: Needs review » Needs work

Shouldn't this go in the Overlay CSS rather than Seven's CSS?

Regarding the Manage Display page, see #553298: Redesign the 'Manage Display' screen.

RobLoach’s picture

FileSize
976 bytes
RobLoach’s picture

Status: Needs work » Needs review
FileSize
977 bytes

Pesky tabs.

aspilicious’s picture

casey’s picture

Status: Needs review » Needs work

Wide tables will be fully visible now. But it would be much nicer if overlay's width stretches along. This should be possible now since the whole overlay is inside overlay's iframe.

casey’s picture

Status: Needs work » Active

Marking active as we don't have no previous patches that apply. To get this patch fixed we might try to alter overlay-child.css, so the overlay stretches along with unbreakable wide content (like tables).

aspilicious’s picture

What will happen if it can't be stretched enough?

casey’s picture

Currently if the tables are wider than user's screen a horizontal scrollbar will appear. The overlay background however won't stretch along; the tables will overflow the overlay.

It should be possible to make the overlay stretch along. It will however be tricky to get it working along with the min-width (in pixels) and width (88%); we might need some Javascript.

(I do have an exam next week and really shouldn't be working on Drupal right now. If nobody has gotten this to work then, I will give it a try)

casey’s picture

Status: Active » Needs review
FileSize
480 bytes

Wohoo turns out to be pretty easy.

http://www.quirksmode.org/css/display.html#table
display:table doesn't work in IE6/IE7 so in those wide tables still overflow the overlay but its not unusable.

Safari 3 and Chrome 1 require elements with display: table and display: table-row to show the cells correctly. The other browsers, including Safari 4 and Chrome 2, don't. Not sure how it looks in in Safari 3 or Chrome 1, but nobody uses those browsers anymore so that shouldn't be a problem.

Dries’s picture

Status: Needs review » Fixed

Committed to CVS HEAD. Thanks.

Status: Fixed » Closed (fixed)
Issue tags: -overlay, -Seven

Automatically closed -- issue fixed for 2 weeks with no activity.