I would like to make my dashboard automatically resize to different screens. This portion of the dashboard is currently set to 6 width.This is taken from my browser using the dev tools.
I have used the dev tools to change this in the "element" heading but can't seem to figure out how to do this in the template. The width: 318px variable is what changes when I do this, I would like to make it 90 vw. I have tried this:
This added the width = 90vw to the nr-dashboard-cardcontainer css but was superseded by the element portion which is still 318. Can I do this? Is there a better way?
For anyone else interested I solved this. Use a dashboard template and set it to the proper group. Instead of "Tab1_Group1" I used "Main_CNC" but it conveys the point. This allows auto horizontal scaling.
Is there a similar way for the height of a group? The reason is that I want to show a table, which is created dynamically (number of rows can vary). the number of row change only once per day, so that there is problem with flickering UI.
Edit: Maybe the scenario is a little different one because the widget itself needs to adjust to the number of rows to avoid avoidable scrollbars or avoidable empty space.
Hi @PastCoder,
did you manage to solve the problem? i also need to set the height dynamically, not sure how to change #Tab1_Group1 > div{ width:90vw; }
dynamically.
if you have found a solution maybe you could share....