Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I want to check if the modal popup location, that is center of the screen can be changed by any means?
Solved! Go to Solution.
We do this using custom CSS on mashup level where navigation function is used.
Steps to reproduce:
.mashup-popup[id$='-2_navigationfunction-54-popup'] {
left: 6px !important;
top: 106px !important;
position: absolute !important;
}
.mashup-popup[id$='-2_navigationfunction-54-popup'] .widget-bounding-box[id$='-2_navigationfunction-54-popup-bounding-box'] {
width: auto !important;
height: auto !important;
position: absolute !important;
}
.mashup-popup-overlay {
opacity: 0.25 !important;
}
Hope this helps.
Hi @SK_9989757 Look at the below issue, looks similar to your issue, let us know if it does not match your use-case.
https://community.ptc.com/t5/ThingWorx-Developers/Border-Radius-to-Modal-Pop-ups/m-p/778073#M56806
We do this using custom CSS on mashup level where navigation function is used.
Steps to reproduce:
.mashup-popup[id$='-2_navigationfunction-54-popup'] {
left: 6px !important;
top: 106px !important;
position: absolute !important;
}
.mashup-popup[id$='-2_navigationfunction-54-popup'] .widget-bounding-box[id$='-2_navigationfunction-54-popup-bounding-box'] {
width: auto !important;
height: auto !important;
position: absolute !important;
}
.mashup-popup-overlay {
opacity: 0.25 !important;
}
Hope this helps.
Much appreciated, really nice example!