streamlit-extras icon indicating copy to clipboard operation
streamlit-extras copied to clipboard

🐛 [BUG] - bottom() doesn't respect sidebar

Open Ginner opened this issue 8 months ago • 0 comments

Description

I'd like to add text to the bottom of the sidebar. However, putting a bottom container in the sidebar, moves the container to the bottom of the content window.

Reproduction steps

  1. Create the following app:
import streamlit as st
from streamlit_extras.bottom_container import bottom

st.write("Hello World")

with st.sidebar:
    st.write("This is a sidebar")
    with bottom():
        st.write("This should be in the bottom of the sidebar.")
  1. run the app

Version of streamlit

1.36.0

Version of streamlit-extras

0.4.3

Ginner avatar Jun 26 '24 08:06 Ginner