Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi,
I have created a dashboard in Power BI and published it in ReactJS for users. But I could see that the alignment is different in different OS and systems. For example, the card and text are not showing in straight line, in others system whereas it is properly align in my system.
How to handle this issues? Because I have to make the same changes multiple times without seeing a result.
Regards,
Surekha Prasad
Hi @johnbasha33,
Thank you for your response. Well, I did try to make the dashboard responsive, but the cards and icons are completly weird in Mac OS. See the image below for reference.
In Mac
In Windows (correct alignment)
It is supposed to be in the ssame line. I checked the resolution aswell but still the same issue. How can I use CSS here?
@Surekha_PM
focus on making the dashboard more responsive so it adapts well to different devices. Instead of using fixed sizes for elements like cards and text, try using flexible units like percentages or relative sizes, which will allow them to adjust smoothly across different screens. You can also use CSS techniques like flexbox or grid to maintain consistent alignment. Make sure to test the dashboard on different browsers and systems to catch any inconsistencies, and check for any display scaling settings that might vary between devices. By making these adjustments, you should be able to maintain a consistent layout without constantly making changes.
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!
Hi @johnbasha33.,
How can I use CSS techniques like flexbox or grid? Do you have any reference video for this?
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
102 | |
68 | |
45 | |
37 | |
36 |