Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When CSS is used that puts a border around sticky tables, the sticky header table doesn't inherit the full outer width of its parent. As a result, all header columns slightly dip toward center. Also, a slight gap appears on the right between header table and parent table's border, unless table.sticky-header is given a margin-left equivalent to the left border width.
Note that it doesn't matter if table.sticky-header is given the same border--this issue still occurs.
Comment | File | Size | Author |
---|---|---|---|
#2 | 1728122-2.patch | 448 bytes | rymo |
Comments
Comment #1
nod_This one legit as well.
It's taken care of by this one #1574738: Rewrite tableheader.js
Comment #2
rymoback-porting to 7.x the simple one-line fix for this specific issue. outerWidth() has been in jQuery since 1.2.6.
Comment #3
Cellar Door CreditAttribution: Cellar Door commentedYup! I just did this in an install and looked to see if anyone else was running into it as well. It's simple and shouldn't effect anything really and worked on tables that we have with wide borders. I'd consider this RTBC...
Comment #4
David_Rothstein CreditAttribution: David_Rothstein commentedCommitted to 7.x - thanks! http://drupalcode.org/project/drupal.git/commit/8104ea7