Hi all,
We have built a low-code app, and one specific page contains some additional information. That information is pasted as custom HTML content into a web component.
In order to make streamline look & feel, we'd like to use the same CSS file as DataMiner is using across all low-code apps. Is there a way to refer to the DataMiner CSS file?
We tried making a ref from the custom HTML, but unsure if that file is actually easily accessible from within the custom HTML. Next, we did also take the content of the CSS file and added that into the custom HTML. That seems to work fine when just showing the HTML stand-alone in a browser, but when adding that into the web component of a low-code app, the layout seems to be broken.
Any thoughts?
Thanks!
Hi Leander,
Have you tried adding inline CSS, if you cannot use a reference to a file?
Kind Regards,
Jarno
Hey Jarno, good tip indeed. Adding a file references or hard-coded layout into the tags seems to get sanitized, but inline css is working fine. So, ended up assigning the css through the style attribute.