diff --git a/CHANGELOG b/CHANGELOG index 35fd8d7d65..b41b20af2b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,4 @@ +* Hide empty cell on small screen * Support validate attribute of wizard's Button * Add infinite scroll diff --git a/src/sao.less b/src/sao.less index fa033f79d9..7bc2e4a3ef 100644 --- a/src/sao.less +++ b/src/sao.less @@ -621,6 +621,11 @@ input.column-boolean { table.responsive > tfoot > tr > td:not(.invisible) { display: block !important; } + table.responsive > thead > tr > th.invisible, + table.responsive > tbody > tr > td.invisible, + table.responsive > tfoot > tr > td.invisible { + display: none; + } table.responsive { min-width: unset !important; /* Hide table headers (but not display: none; for accessiblity) */ @@ -675,7 +680,7 @@ input.column-boolean { } > tbody > tr, > tfoot > tr { - > td:before { + > td[data-title]:before { /* Now like a table header */ position: absolute; /* Top/left values mimic padding */ diff --git a/src/view/tree.js b/src/view/tree.js index 7244609cce..185fb08a73 100644 --- a/src/view/tree.js +++ b/src/view/tree.js @@ -1179,11 +1179,16 @@ for (var i = 0; i < this.tree.columns.length; i++) { var column = this.tree.columns[i]; - td = jQuery('