Question

4
Replies
187
Views
SORNALATHAR2728 Member since 2018 8 posts
Hexaware Technologies Ltd
Posted: 1 year ago
Last activity: 1 year ago
Closed

How to calculate dynamic width (CSS code) based on the screen resolution

Hi Everyone,

When I am launching the dashboard from dev portal the scroll bar (whole screen )going right side(refer this post: https://community1.pega.com/community/pega-support/question/dashboard-zoomed-varies#comment-868651)

To solve that issue I have followed another approach:

For each widget, I have used the scroll bar to avoid the main scroll bar issue

For example, in each widget->for the table gird->in the presentation tab -> I have added the CSS code(width: 70vw) for a scroll bar. But If add more widgets( using right column template) then it's overlapping the content.)

So is there any way to calculate the dynamic width(CSS code) based on the screen resolution

Early response will be highly appreciated

Thanks,

Sornalatha R

User Interface
Moderation Team has archived post
Share this page LinkedIn