Closed Takher closed 6 months ago
I also have same issue.
I am having the same issue.
Same issue, please fix it's horrible
@hl5biw @NathanChen198 @Takher Maybe you found a work-around ? :) @Mohamed-512
Manage to resolve it using css
def RemoveEmptyElementContainer():
st.markdown(
f"""
<style>
.element-container:has(iframe[height="0"]) {{ display: none; }}
</style>
""", unsafe_allow_html=True
)
Manage to resolve it using css
def RemoveEmptyElementContainer(): st.markdown( f""" <style> .element-container:has(iframe[height="0"]) {{ display: none; }} </style> """, unsafe_allow_html=True )
You just saved me, thank you very much !
Hey all, thanks for bringing it to my attention, and thanks @NathanChen198 for the fix. I have added it in a new version of the package 0.1.71
.
When running this code
I find that there is an extra vertical space:
However, if I remove the
experimental_allow_widgets=True
option, I get this issuePython 3.9.18 Streamlit, version 1.29.0 extra-streamlit-components 0.1.60