File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
zeppelin-web/src/app/notebook/paragraph Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -941,7 +941,6 @@ angular.module('zeppelinWebApp')
941941
942942
943943 var renderTable = function ( ) {
944-
945944 var html = '' ;
946945 html += '<table class="table table-hover table-condensed">' ;
947946 html += ' <thead>' ;
@@ -982,11 +981,13 @@ angular.module('zeppelinWebApp')
982981 return angular . element ( '#p' + $scope . paragraph . id + '_table' ) ;
983982 }
984983 } ) ;
984+
985985 angular . element ( '#p' + $scope . paragraph . id + '_table' ) . css ( 'position' , 'relative' ) ;
986986 angular . element ( '#p' + $scope . paragraph . id + '_table' ) . css ( 'height' , '100%' ) ;
987987 angular . element ( '#p' + $scope . paragraph . id + '_table' ) . perfectScrollbar ( 'destroy' ) ;
988988 angular . element ( '#p' + $scope . paragraph . id + '_table' ) . perfectScrollbar ( ) ;
989989 angular . element ( '.ps-scrollbar-y-rail' ) . css ( 'z-index' , '1002' ) ;
990+
990991 // set table height
991992 var psHeight = $scope . paragraph . config . graph . height ;
992993 angular . element ( '#p' + $scope . paragraph . id + '_table' ) . css ( 'height' , psHeight ) ;
You can’t perform that action at this time.
0 commit comments