Problem/Motivation
The Luzmo Dashboard widget does not resize responsively, causing layout issues on different screen sizes. Users may experience cut-off or improperly scaled dashboard content when resizing the browser window or viewing on various devices.
Steps to reproduce
1. Add a Luzmo Dashboard widget to a page.
2. View the page on a desktop browser.
3. Resize the browser window or view the page on a mobile device.
4. Observe that the dashboard container does not always adjust its width to fit the new screen size.
Proposed resolution
- Implement a Drupal behavior that attaches a window resize event listener.
- On resize, select all `luzmo-dashboard` elements and set their `.dashboard-container` width to `100%` using JavaScript.
Issue fork luzmo_viewer-3556403
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
p-neyens commentedComment #4
p-neyens commentedComment #6
p-neyens commented