Anna-Lisa commited on
Commit
f85a7ec
·
verified ·
1 Parent(s): 81440b0
Files changed (1) hide show
  1. app.py +18 -0
app.py CHANGED
@@ -34,6 +34,24 @@ st.markdown(
34
  unsafe_allow_html=True
35
  )
36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  # Add vertical spacing between banner and help text
38
  st.markdown("<div style='margin-top: 40px;'></div>", unsafe_allow_html=True)
39
 
 
34
  unsafe_allow_html=True
35
  )
36
 
37
+ st.markdown(
38
+ """
39
+ <style>
40
+ /* Your existing banner styles here... */
41
+
42
+ /* Fix overflow in Streamlit expanders */
43
+ .streamlit-expanderContent {
44
+ max-width: 700px;
45
+ word-wrap: break-word;
46
+ overflow-wrap: break-word;
47
+ white-space: pre-wrap;
48
+ }
49
+ </style>
50
+ """,
51
+ unsafe_allow_html=True,
52
+ )
53
+
54
+
55
  # Add vertical spacing between banner and help text
56
  st.markdown("<div style='margin-top: 40px;'></div>", unsafe_allow_html=True)
57