ZenphotoCMS Forum
Google map dimensions - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Google map dimensions (/thread-12626.html)



Google map dimensions - thany - 2016-11-18

The google map dimensions have to be in pixels. And it's 2016.

If I enter "100%" for the width, it renders as "100%px". If I put "15rem" for the height, it renders as "15rempx". Secondly, it renders the dimensions as inline style, which is impossible to override in CSS without using an UGLY and messy !important suffix.

That's as far as the problem description goes.

As for the solution:

Remove the fields. Done!
These things should be in CSS anyway. They have no place in the HTML, especially not as inline style.

If you absolutely have to have these fields for whatever odd reason, please do no append "px" to them internally. If a different unit is entered, leave it be, and don't render it as invalid CSS.




Google map dimensions - acrylian - 2016-11-18

Best you file a ticket or create a pull request.




Google map dimensions - thany - 2016-11-19

Aren't I doing that by posting here?




Google map dimensions - acrylian - 2016-11-19

In this case we are looking into it but generall tickets are on GitHub.




Google map dimensions - thany - 2016-11-22

So do I post issues on github now? It might not be productive to have two ways of posting issues... I'll do it next time I find something.




Google map dimensions - acrylian - 2016-11-22

The forum is for general discussions and not for reporting bugs. Although we look into bugs reported here things gets lost here too easily. We don't always have time to look into things right away.