Hi!
I have a gallery where i have added a HTML text-control for CSS-styling.
My issue is that it works great in preview-mode, but the HTML-controll does not show at all when running the app in my mobile or tablet.
I've isolated the issue to dynamic values for width & height. If I set these to static, it works great.
If possible, how should i make the control dynamic so it shows on mobile/tablet?
Below is an example on the code that is working great i preview but not on mobiles/tablets.
"<div style='
width:" & (Parent.Width * 0.75) & "px;
height:" & (Parent.TemplateHeight * 0.6) & "px;
background: linear-gradient(90deg, rgba(232,247,246,1) 0%, rgba(34,188,232,1) 100%);
border-radius: 20px;
box-shadow: 2px 2px 5px #686f6f, -6px -6px 12px ;
margin: 15px;
'></div>"
Thanks,
Anders

Report
All responses (
Answers (