Skip to content

Commit

Permalink
Additional container height example (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-dmatthews authored Jan 8, 2024
1 parent 7fb771b commit 66cda18
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions python/api-examples-source/layouts.container4.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import streamlit as st

long_text = "Lorem ipsum. " * 1000

with st.container(height=300):
st.markdown(long_text)

0 comments on commit 66cda18

Please sign in to comment.