Comments

pillarsdotnet’s picture

Status: Active » Needs review
StatusFileSize
new893 bytes

The following patch works but it's obviously not the right way to do it.

modstore’s picture

Will a fix for this be included in dev, or is applying this patch the only option for now?

pillarsdotnet’s picture

The patch in #1 will *not* be included in dev. As I said, it is not the right way to do it.

Anonymous’s picture

I checked how the drupal core toolbar was handling this and make it work using this javascript (as part of my theme scripts)

Drupal.adminmenu = {
    height: function() {
	  var height = $('#admin-menu').outerHeight();
	  // In IE, Shadow filter adds some extra height, so we need to remove it from
	  // the returned height.
	  if ($('#admin-menu').css('filter').match(/DXImageTransform\.Microsoft\.Shadow/)) {
		height -= $('#toolbar').get(0).filters.item("DXImageTransform.Microsoft.Shadow").strength;
	  }
	  return height;
    }
};
Drupal.settings.tableHeaderOffset = 'Drupal.adminmenu.height';
sun’s picture

Status: Needs review » Fixed
StatusFileSize
new1.39 KB

Thanks for reporting, reviewing, and testing! Committed to all 3.x branches.

A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.

klonos’s picture

Status: Fixed » Active
StatusFileSize
new30.88 KB

...improved situation perhaps, but not entirely fixed :/

klonos’s picture

...this happens for me in my permissions pages where my roles also happen to be wrapping in two lines. I just checked the blocks admin page and the sticky header is still completely hidden there (only a few headers and they don't wrap).

PS: ...using latest 7.x-3.0-rc1+32-dev (2012-Mar-02).

sun’s picture

Status: Active » Fixed

Apparently, you're using the toolbar style, which increases the total height of the menu.

That's a separate issue.

And it might make sense to wait for the outcome of #742184: Shortcut.module integration, but perhaps not. ;)

klonos’s picture

That's a separate issue.

Is there an actual issue filed for that or perhaps you meant "That's a separate matter" and that I should file an issue myself? Also, I don't see how this relates to #742184: Shortcut.module integration (?)

dimitriseng’s picture

Hi, just to note that I am also having this issue when using the Toolbar style and I think that it would be good to get that to work properly also as a lot of people are probably using the Toolbar style, thank you.

klonos’s picture

Yeah, I searched but didn't find any separate issue filed for this. Please let us know if it will be handled here of if we should file a separate issue.

Status: Fixed » Closed (fixed)

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

klonos’s picture

klonos’s picture

Issue summary: View changes

Added links to older issues.