Order is important here

This commit is contained in:
Justin F. Hallett 2015-05-13 19:00:40 -06:00
parent 263e22ffd0
commit e99b8d20bd

View File

@ -114,7 +114,7 @@ $( function() {
/*** fixed column ***/
/* disable pointer-events on fixed column wrapper or the user can't interact with the horizontal scrollbar */
'.' + tscss.scrollerFixed + ' { pointer-events: none; }' +
'.' + tscss.scrollerFixed + ' .' + tscss.scrollerFixedPanel + ' { pointer-events: none; }' +
/* enable pointer-events for fixed column children; see #135 & #878 */
'.' + tscss.scrollerFixed + ' > div { pointer-events: all; }' +
'.' + tscss.scrollerWrap + ' .' + tscss.scrollerFixed + ' { position: absolute; top: 0; z-index: 1; left: 0 } ' +
@ -130,8 +130,7 @@ $( function() {
'.' + tscss.scrollerWrap + ' .' + tscss.scrollerFixed + ' table { border-right-color: transparent; padding-right: 0; }' +
'.' + tscss.scrollerWrap + ' .' + tscss.scrollerFixed + '.' + tscss.scrollerRtl + ' table { border-left-color: transparent; padding-left: 0; }' +
/*** fixed column ***/
'.' + tscss.scrollerFixedPanel + ' { pointer-events: none; }' +
/*** fixed column panel ***/
'.' + tscss.scrollerWrap + ' .' + tscss.scrollerFixedPanel + ' { position: absolute; top: 0; bottom: 0; z-index: 2; left: 0; right: 0; } ' +
'</style>';
$( style ).appendTo( 'body' );