diff --git a/modules/helpdesk/pages/helpdesk/risk-radar/index(default).phtml b/modules/helpdesk/pages/helpdesk/risk-radar/index(default).phtml index e60b065..217e992 100644 --- a/modules/helpdesk/pages/helpdesk/risk-radar/index(default).phtml +++ b/modules/helpdesk/pages/helpdesk/risk-radar/index(default).phtml @@ -118,12 +118,14 @@ $periodLabels = [
- -
-

- -
-
+ +
+
+

+ +
+
+
diff --git a/modules/helpdesk/web/css/helpdesk.css b/modules/helpdesk/web/css/helpdesk.css index f371059..482fe42 100644 --- a/modules/helpdesk/web/css/helpdesk.css +++ b/modules/helpdesk/web/css/helpdesk.css @@ -523,15 +523,14 @@ /* --- Risk Radar --- */ .helpdesk-risk-radar-toolbar { display: flex; - align-items: center; - gap: calc(var(--app-spacing) * 0.75); - flex-wrap: wrap; + flex-direction: column; + align-items: flex-start; + gap: calc(var(--app-spacing) * 0.5); margin-bottom: calc(var(--app-spacing) * 0.75); } .helpdesk-risk-radar-search { - flex: 1; - min-width: 12rem; + width: 100%; max-width: 20rem; } diff --git a/modules/helpdesk/web/js/helpdesk-risk-radar.js b/modules/helpdesk/web/js/helpdesk-risk-radar.js index 59112b0..dadd9c5 100644 --- a/modules/helpdesk/web/js/helpdesk-risk-radar.js +++ b/modules/helpdesk/web/js/helpdesk-risk-radar.js @@ -20,7 +20,7 @@ if (container) { const dialog = document.getElementById('radar-detail-dialog'); const dialogTitle = document.getElementById('radar-detail-title'); const dialogBody = document.getElementById('radar-detail-body'); - const dialogClose = dialog ? dialog.querySelector('.app-dialog-close') : null; + const dialogClose = dialog ? dialog.querySelector('.close') : null; let currentPeriod = 90; let lastData = null; @@ -130,7 +130,6 @@ if (container) { // Click/keyboard to open detail card.tabIndex = 0; - card.setAttribute('role', 'button'); card.addEventListener('click', () => openDetail(customer)); card.addEventListener('keydown', (e) => { if (e.key === 'Enter' || e.key === ' ') { e.preventDefault(); openDetail(customer); } });