Skip to main content
18-Opal
December 21, 2022
Solved

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

  • December 21, 2022
  • 2 replies
  • 1184 views

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,

Best answer by pshashipreetham

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,

2 replies

Community Manager
January 5, 2023

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

pshashipreetham18-OpalAuthorAnswer
18-Opal
September 8, 2024

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,