Skip to content

Commit dd8901b

Browse files
committed
last fixes
1 parent 5aca081 commit dd8901b

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,7 @@ angular.module('zeppelinWebApp')
12411241

12421242
var renderTable = function() {
12431243
var html = '';
1244-
html += '<table class="table table-hover table-condensed compact display">';
1244+
html += '<table class="table table-hover table-condensed">';
12451245
html += ' <thead>';
12461246
html += ' <tr style="background-color: #F6F6F6; font-weight: bold;">';
12471247
for (var titleIndex in $scope.paragraph.result.columnNames) {
@@ -1272,9 +1272,10 @@ angular.module('zeppelinWebApp')
12721272
var oTable = tableDomEl.children(1).DataTable({
12731273
paging: false,
12741274
info: false,
1275-
autoWidth: true,
1275+
autoWidth: false,
12761276
lengthChange: false,
1277-
dom : '<"row"<"col-sm-12"t>>'
1277+
searching: false,
1278+
dom: '<>'
12781279
});
12791280

12801281
if ($scope.paragraph.result.msgTable.length > 10000) {

zeppelin-web/src/app/notebook/paragraph/paragraph.css

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,18 @@
5353
}
5454

5555
table.dataTable {
56-
/* clear: both; */
57-
margin-top: 0px !important;
56+
margin-top: 0px !important;
5857
margin-bottom: 6px !important;
59-
/* max-width: none !important; */
6058
}
6159

62-
div.dataTables_wrapper{
63-
overflow: hidden;
60+
table.dataTable.table-condensed > thead > tr > th {
61+
padding-right: 28px;
62+
}
63+
64+
table.dataTable.table-condensed .sorting:after,
65+
table.dataTable.table-condensed .sorting_asc:after,
66+
table.dataTable.table-condensed .sorting_desc:after {
67+
right: 12px;
6468
}
6569

6670
.graphContainer {

0 commit comments

Comments
 (0)