JeCabrera commited on
Commit
32b6c6d
·
verified ·
1 Parent(s): b085d00

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -246,14 +246,14 @@ with col2:
246
  # Add a small space
247
  st.markdown('<div style="height: 15px;"></div>', unsafe_allow_html=True)
248
 
249
- col_download, col_empty = st.columns([8, 2])
250
- with col_download:
251
- st.download_button(
252
- label="Descargar Oferta",
253
- data=st.session_state.offer_result,
254
- file_name="oferta_generada.txt",
255
- mime="text/plain"
256
- )
257
 
258
  # Footer
259
  st.markdown('---')
 
246
  # Add a small space
247
  st.markdown('<div style="height: 15px;"></div>', unsafe_allow_html=True)
248
 
249
+ # Apply the custom button style before rendering the download button
250
+ st.markdown('<style>div.stDownloadButton > button {your-custom-styles-here}</style>', unsafe_allow_html=True)
251
+ st.download_button(
252
+ label="Descargar Oferta",
253
+ data=st.session_state.offer_result,
254
+ file_name="oferta_generada.txt",
255
+ mime="text/plain"
256
+ )
257
 
258
  # Footer
259
  st.markdown('---')