On tables with multiple lines in the header, the bottom border of the sticky header isn't consistent (see attachment).
To reproduce this, switch to a fixed width theme (chameleon, Minnelli), or reduce the width of the browser window. Go to the access page and make sure some headers are on several lines. create a few roles if necessary. Reload the page and scroll down.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | tablehearder-height.patch | 846 bytes | scor |
| #2 | tableheader_bug.png | 23.27 KB | scor |
| #1 | drupal.stickyheader.patch | 830 bytes | scor |
| bugheader.png | 1.81 KB | scor |
Comments
Comment #1
scor commentedThis patch adds the height of the sticky div according to the height of the cell. Tested with garland, chameleon and Minnelli on FF.
Comment #2
scor commentedthis issue is still in core.
Comment #3
scor commentedpatch rerolled...
Comment #4
kkaefer commentedDoesn't solve the issue in Safari (at least).
Comment #5
JirkaRybka commentedThe solution here is incomplete, as the size may change on window-resizes with text wrapping, and I even encountered inconsistencies between cell heights in the same row (FF 2.0.0.6 / Linux).
There's another related issue (column 1 hidden behind the rest, if the content is aligned to center or right), and even more problems with tableheader.js: http://drupal.org/node/194590 - In #12 there, I just attached my patch. Needs cross-browser testing.
Edit: I played with that patch quite a while, and now it REALLY needs testing: http://drupal.org/node/194590
Comment #6
scor commentedhttp://drupal.org/node/194590