Skip to main content
pshashipreetham
19-Tanzanite
Dec 21, 2022 1:52 PM UTC
Solved

Mashup Popups (Navigation widget) are not centered when Using Media Queries

Hello, 

When using the Media Queries, the pop-ups are not getting center aligned...
The following code for the Media query has been used in the mashup

Shashi_Preetham_0-1671630603886.png


Thanks,

pshashipreetham
19-Tanzanite
Sep 8, 2024 7:48 AM UTC

Hi,

 

There is no solution for this at the moment. Each popup must be adjusted based on the media query used for each screen size. Therefore, using media queries is always a bad idea.

 

Thanks,

Shashi Preetham || +91 8099838801 || shashi@psptechhub.com

2 replies

Support
Jan 5, 2023 7:14 PM UTC

Hi @Shashi_Preetham.

 

We have a few questions/observations:

 

  1. You mentioned the screen size at the start of your code, but the media size exceeds that
  2. Your code doesn't contain anything regarding alignment
  3. What alignment are you seeing?  There is a horizontal alignment property.
  4. You mention the navigation widget in the Title.  What version of ThingWorx are you running?  The navigation widget is now a function.

 

Regards.

 

--Sharon

Translate
pshashipreetham
pshashipreetham19-TanzaniteAuthorAnswer
19-Tanzanite
Sep 8, 2024 7:48 AM UTC

Hi,

 

There is no solution for this at the moment. Each popup must be adjusted based on the media query used for each screen size. Therefore, using media queries is always a bad idea.

 

Thanks,

Translate
Shashi Preetham || +91 8099838801 || shashi@psptechhub.com