File tree Expand file tree Collapse file tree 3 files changed +14
-3
lines changed
src/app/notebook/paragraph Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 3131 "ng-focus-if" : " ~1.0.2" ,
3232 "bootstrap3-dialog" : " bootstrap-dialog#~1.34.7" ,
3333 "floatThead" : " ~1.3.2" ,
34- "datatables.net-bs" : " ^ 1.10.11" ,
35- "datatables.net-buttons-bs" : " ^ 1.1.2"
34+ "datatables.net-bs" : " ~ 1.10.11" ,
35+ "datatables.net-buttons-bs" : " ~ 1.1.2"
3636 },
3737 "devDependencies" : {
3838 "angular-mocks" : " 1.3.8"
Original file line number Diff line number Diff line change @@ -1191,7 +1191,7 @@ angular.module('zeppelinWebApp')
11911191
11921192 var renderTable = function ( ) {
11931193 var html = '' ;
1194- html += '<table class="table table-hover table-condensed" cellspacing="0" width="100% ">' ;
1194+ html += '<table class="table table-hover table-condensed compact display ">' ;
11951195 html += ' <thead>' ;
11961196 html += ' <tr style="background-color: #F6F6F6; font-weight: bold;">' ;
11971197 for ( var titleIndex in $scope . paragraph . result . columnNames ) {
@@ -1221,6 +1221,8 @@ angular.module('zeppelinWebApp')
12211221 angular . element ( '#p' + $scope . paragraph . id + '_table' ) . children ( 1 ) . DataTable ( {
12221222 paging : false ,
12231223 info : false ,
1224+ autoWidth : true ,
1225+ lengthChange : false ,
12241226 dom : '<"row"<"col-sm-6"B><"col-sm-6"f>>' +
12251227 '<"row"<"col-sm-12"t>>' ,
12261228 buttons : [
Original file line number Diff line number Diff line change 4848 margin-bottom : 0 ;
4949}
5050
51+ table .dataTable {
52+ /* clear: both; */
53+ margin-top : 0px !important ;
54+ margin-bottom : 6px !important ;
55+ /* max-width: none !important; */
56+ }
57+ div .dataTables_wrapper {
58+ overflow : hidden;
59+ }
5160.paragraph p {
5261 margin : 0 ;
5362}
You can’t perform that action at this time.
0 commit comments