Announcements
Hi,
Anyone managed to get media queries working in PCF? I am trying to dynamically set the column-count on a bootsrap card-columns element, but it doesn't seem to take any effect. If I change the value directly in Chrome dev tools it's all fine and I can change the value and the control will automatically get the correct number of columns. I can see the CSS has loaded correctly however.
Thanks,
Ben
Hard to say without looking at code. Missing meta tag may be - https://teamtreehouse.com/community/media-queries-not-working-what-am-i-doing-wrong
Power apps phone preview doesn't actually work. What you have to do is start up developer tools and make a preview inside a preview - than the @media screen query should work just fine
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 279 Most Valuable Professional
Kalathiya 229 Super User 2026 Season 1
VASANTH KUMAR BALMADI 195