Title: [BUG] &#8211; Broken layout shortcode helper
Last modified: June 4, 2025

---

# [BUG] – Broken layout shortcode helper

 *  [mmikolas](https://wordpress.org/support/users/mmikolas/)
 * (@mmikolas)
 * [12 months ago](https://wordpress.org/support/topic/bug-broken-layout-shortcode-helper/)
 * Hello, I found that if I set my global height setting to 100%, it breaks the 
   map layout in the shortcode helper. Do you think you could fix that? I’m slightly
   paralyzed by how great this plugin is!
 * ![](https://i0.wp.com/i.imgur.com/GRuZTci.png?ssl=1)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Contributor [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [12 months ago](https://wordpress.org/support/topic/bug-broken-layout-shortcode-helper/#post-18497983)
 * > global height setting to 100%
 * Please don’t use percent for the height.
 * [@bozdoz](https://wordpress.org/support/users/bozdoz/): I think also this is 
   a bug. Is this allowed? Because the specification in percent does not make sense,
   because the div container needs a fixed value.
    -  This reply was modified 12 months ago by [hupe13](https://wordpress.org/support/users/hupe13/).
 *  Thread Starter [mmikolas](https://wordpress.org/support/users/mmikolas/)
 * (@mmikolas)
 * [12 months ago](https://wordpress.org/support/topic/bug-broken-layout-shortcode-helper/#post-18497992)
 * Wait, wait, you yourself wrote that I can use %, and now you’re telling me not
   to use it. If you want to cover the entire space, you need 100% height. My map
   on the website is embedded in a div because there are other elements and conditions
   connected to it. And I want the map to fit within its space. This makes perfect
   sense because the parent has a fixed height.
 * ![](https://i0.wp.com/i.imgur.com/JUiWEMc.png?ssl=1)
 *  Plugin Contributor [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [12 months ago](https://wordpress.org/support/topic/bug-broken-layout-shortcode-helper/#post-18498003)
 * Okay, you are right, it makes sense if you have a parent container. So it is 
   only a bug in the shortcode helper.
 *  Thread Starter [mmikolas](https://wordpress.org/support/users/mmikolas/)
 * (@mmikolas)
 * [12 months ago](https://wordpress.org/support/topic/bug-broken-layout-shortcode-helper/#post-18498010)
 * That’s right. I explicitly solved it directly in the shortcode and left the global
   element with a fixed height so that it wouldn’t interfere with the shortcode 
   help, which is really great. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[BUG] – Broken layout shortcode helper’ is closed to new replies.

 * ![](https://ps.w.org/leaflet-map/assets/icon-256x256.png?rev=1693083)
 * [Leaflet Map](https://wordpress.org/plugins/leaflet-map/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leaflet-map/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leaflet-map/)
 * [Active Topics](https://wordpress.org/support/plugin/leaflet-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leaflet-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leaflet-map/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [mmikolas](https://wordpress.org/support/users/mmikolas/)
 * Last activity: [12 months ago](https://wordpress.org/support/topic/bug-broken-layout-shortcode-helper/#post-18498010)
 * Status: not resolved