HTML Embed with Tabs

Hey guys,

Has anyone had a problem with the content in their HTML embeds in Tabs? Mine is that the content size seems to be at max-width 400px until the window gets resized and then it goes to its normal size. The interesting thing is that if one of these tabs is active on page load the content is at full size.

I would think it was a problem with my code but I have two separate examples in the same tab bar that have the same behaviour. Any ides?

https://preview.webflow.com/preview/kyle-s-amazing-site-wohoo?preview=1049efc55c0c6d3ebdbf263e1920a3d4

Can you try to put 100% on the Embed element?

http://vincent.polenordstudio.fr/snap/w1b9c.jpg

and in the code:

http://vincent.polenordstudio.fr/snap/sxhkn.jpg

Hey Vincent,

Tried the above without any luck. I have a third JS element in the Q&A tab that doesn’t have sizing issues so I am curious why the map and the chart are behaving the same and not the Q&A embed.

Then it is more likely that it’s a plugin issue. Let the developers of the plugin know that their auto element resize is broken when resizing the window.

Is there a script to force auto element resize? I could try and place it inside of the map and chart scripts.

This topic was automatically closed after 60 days. New replies are no longer allowed.