Skip to content

Commit

Permalink
CC-17034: fix back office table horizontal scroll (#10649)
Browse files Browse the repository at this point in the history
CC-17034 Fix back office table horizontal scroll
  • Loading branch information
Yuriy Gerton authored Nov 28, 2023
1 parent 4877a88 commit c44699f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions assets/Zed/js/modules/libs/data-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ if (translationObj.sSearch) {

var defaultConfiguration = {
scrollX: 'auto',
autoWidth: false,
language: translationObj,
dom:
"<'row'<'col-sm-12 col-md-6'i><'col-sm-12 col-md-6'f>>" +
Expand All @@ -34,7 +33,6 @@ var noSearchConfiguration = {
bFilter: false,
bInfo: false,
scrollX: 'auto',
autoWidth: false,
};

function setTableErrorMode(errorMode) {
Expand Down
5 changes: 2 additions & 3 deletions assets/Zed/sass/_data-tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ $data-table-selected-row-bg-color: rgba(#0088cc, 0.15);
$data-table-selected-row-border-size: 1px;
$data-table-selected-row-border-color: rgba(#0088cc, 1);

.dataTables_scrollHeadInner {
width: 100% !important;

.dataTables_scrollHeadInner,
.dataTables_scrollBody {
& > .table {
width: 100% !important;
}
Expand Down

0 comments on commit c44699f

Please sign in to comment.