diff --git a/modules/helpdesk/web/css/helpdesk.css b/modules/helpdesk/web/css/helpdesk.css index dc841dc..9727a30 100644 --- a/modules/helpdesk/web/css/helpdesk.css +++ b/modules/helpdesk/web/css/helpdesk.css @@ -145,6 +145,11 @@ display: none; } + .helpdesk-team-table-scroll { + overflow-x: auto; + } + + .helpdesk-team-widget > .helpdesk-team-table-scroll > .helpdesk-team-ticket-table, .helpdesk-team-widget > .helpdesk-team-ticket-table { border: none; border-radius: 0; diff --git a/modules/helpdesk/web/js/helpdesk-team.js b/modules/helpdesk/web/js/helpdesk-team.js index 141f635..efbf839 100644 --- a/modules/helpdesk/web/js/helpdesk-team.js +++ b/modules/helpdesk/web/js/helpdesk-team.js @@ -152,7 +152,9 @@ if (container) { const tbody = h('tbody'); for (const t of tickets) tbody.appendChild(buildTicketRow(t)); table.appendChild(tbody); - section.appendChild(table); + const scrollWrap = h('div', 'helpdesk-team-table-scroll'); + scrollWrap.appendChild(table); + section.appendChild(scrollWrap); } return section;