Spaces:
Sleeping
Sleeping
Commit ·
e192da8
1
Parent(s): 1b5a4a6
Make Try Example Dataset button match file uploader height
Browse files1015 unmodified lines101610171018101910201021218 unmodified lines1240124112421243124412451246124712481015 unmodified linescolor: #D4872C;}.stButton > button:hover {transform: translateY(-1px);box-shadow: 0 4px 12px rgba(232, 163, 60, 0.3);218 unmodified lineskey="survey_file")with example_col:st.markdown("<div style='height: 58px;'></div>", unsafe_allow_html=True) # Align with Browse buttonif st.button("Try Example Dataset", key="example_btn"):st.session_state.example_loaded = Truecolumns = []df = None1015 unmodified lines101610171018101910201021102210231024102510261027218 unmodified lines124612471248124912501251125212531254125512561015 unmodified linescolor: #D4872C;}/* Tall button for example dataset (matches file uploader height) */.tall-button .stButton > button {min-height: 107px;border-radius: 12px;}.stButton > button:hover {transform: translateY(-1px);box-shadow: 0 4px 12px rgba(232, 163, 60, 0.3);218 unmodified lineskey="survey_file")with example_col:st.markdown("<div style='height: 27px;'></div>", unsafe_allow_html=True) # Match "Upload Data" label heightst.markdown('<div class="tall-button">', unsafe_allow_html=True)if st.button("Try Example Dataset", key="example_btn", use_container_width=True):st.session_state.example_loaded = Truest.markdown('</div>', unsafe_allow_html=True)columns = []df = None
app.py+10-2