mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Order is important here
This commit is contained in:
parent
263e22ffd0
commit
e99b8d20bd
@ -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' );
|
||||
|
Loading…
Reference in New Issue
Block a user