JeCabrera commited on
Commit
390ca54
·
verified ·
1 Parent(s): 6bbf12f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -2
app.py CHANGED
@@ -398,10 +398,22 @@ with open("manual.md", "r", encoding="utf-8") as file:
398
  # Mostrar el contenido del manual en el sidebar
399
  st.sidebar.markdown(manual_content)
400
 
401
- # Ocultar elementos de la interfaz
402
  st.markdown("""
403
  <style>
404
-
 
 
 
 
 
 
 
 
 
 
 
 
405
  /* Reducir espacio superior */
406
  .block-container {
407
  padding-top: 1rem;
 
398
  # Mostrar el contenido del manual en el sidebar
399
  st.sidebar.markdown(manual_content)
400
 
401
+ # Ocultar elementos de la interfaz y el sidebar por defecto
402
  st.markdown("""
403
  <style>
404
+ /* Ocultar sidebar por defecto */
405
+ [data-testid="stSidebar"][aria-expanded="true"] {
406
+ margin-left: -24rem;
407
+ }
408
+ [data-testid="stSidebar"][aria-expanded="false"] {
409
+ margin-left: -24rem;
410
+ }
411
+
412
+ /* Botón de hamburguesa visible */
413
+ .st-emotion-cache-1q1n0ol {
414
+ display: block;
415
+ }
416
+
417
  /* Reducir espacio superior */
418
  .block-container {
419
  padding-top: 1rem;