Adjust column widths + stacking threshold to 50%
Browse files- src/streamlit_app.py +1 -1
- src/styles/dark_theme.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -88,7 +88,7 @@ if "cat_idx" not in st.session_state:
|
|
| 88 |
|
| 89 |
st.markdown('<div id="search-controls"></div>', unsafe_allow_html=True)
|
| 90 |
|
| 91 |
-
col_city, col_cat, col_num, col_lang, col_search, col_refresh = st.columns([
|
| 92 |
|
| 93 |
with col_city:
|
| 94 |
city = st.selectbox("City", CITY_SUGGESTIONS, index=CITY_SUGGESTIONS.index("London"))
|
|
|
|
| 88 |
|
| 89 |
st.markdown('<div id="search-controls"></div>', unsafe_allow_html=True)
|
| 90 |
|
| 91 |
+
col_city, col_cat, col_num, col_lang, col_search, col_refresh = st.columns([13, 50, 8, 15, 7, 7], gap="small")
|
| 92 |
|
| 93 |
with col_city:
|
| 94 |
city = st.selectbox("City", CITY_SUGGESTIONS, index=CITY_SUGGESTIONS.index("London"))
|
src/styles/dark_theme.py
CHANGED
|
@@ -844,7 +844,7 @@ STACK_CONTROLS_JS = """<!DOCTYPE html>
|
|
| 844 |
var p = window.parent;
|
| 845 |
if (!p) return;
|
| 846 |
|
| 847 |
-
var threshold = p.screen.width * 0.
|
| 848 |
|
| 849 |
function updateStack() {
|
| 850 |
var body = p.document.body;
|
|
|
|
| 844 |
var p = window.parent;
|
| 845 |
if (!p) return;
|
| 846 |
|
| 847 |
+
var threshold = p.screen.width * 0.50;
|
| 848 |
|
| 849 |
function updateStack() {
|
| 850 |
var body = p.document.body;
|