Skip to content

Commit

Permalink
Merge pull request #849 from caktus/TM-825-sticky-headers
Browse files Browse the repository at this point in the history
tweaked pixel distance of header
  • Loading branch information
Rob Lineberger committed Dec 30, 2015
2 parents 90d8f4d + bd3e3f1 commit 3bb7b55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions timepiece/static/timepiece/js/sticky_table_header.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ var stickyHeader = function(){
thead.style.webkitTransform = 'translate(0px,'+ (difference_top -1) +'px)';
thead.style.MozTransform = 'translate(0px,'+ (difference_top -1) +'px)';
}else{
thead.style.webkitTransform = 'translate(0px,'+ (difference_top - 10) +'px)';
thead.style.MozTransform = 'translate(0px,'+ (difference_top -10) +'px)';
thead.style.webkitTransform = 'translate(0px,'+ (difference_top - 7) +'px)';
thead.style.MozTransform = 'translate(0px,'+ (difference_top -7) +'px)';
}
}
if(difference_top > table.dataset.bottom){
Expand Down

0 comments on commit 3bb7b55

Please sign in to comment.