Hey all, not a proficient coder, but do understand Python decently enough so I chose Anvil to prototype a tool for bedside nurses. I’ve problem solved successfully for many of the programming issues but am hung up on what most of you will probably know right away. I have a Google Maps Form which renders onto the main page successfully, and I can set a height in properties, but I want to make the map dynamically resizing to get rid of scroll bars on side (plus be mobile friendly).
I’m trying to do it in Anvil without resorting to custom HTML. I was able to get animate.css styles to work by referencing external CSS in native libraries and changing roles based on events, but any time I attempt to change the map role in the same way based on the custom CSS I got from the Google Maps API page nothing seems to happen. I kinda get that normally with custom HTML pages in the I’d need to set
Getting more comfortable editing the themes.css so is there a way to create a role like ‘.map’, and then when my Map() form is called, initialize it and add a role with something like self.map_1.role = ‘map’ ?
Thanks for looking