lozanopastor commited on
Commit
afa4b72
·
verified ·
1 Parent(s): ebd75ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -130,11 +130,16 @@ def main():
130
  border: 2px solid gray;
131
  color: gray;
132
  transition: all 0.3s ease;
 
133
  }
134
  .custom-button button:hover {
135
  background-color: gray;
136
  color: white;
137
  }
 
 
 
 
138
  </style>
139
  """,
140
  unsafe_allow_html=True
@@ -162,12 +167,12 @@ def main():
162
  st.markdown('</div>', unsafe_allow_html=True)
163
 
164
  st.markdown('<div class="custom-button">', unsafe_allow_html=True)
165
- if st.button("Entidad", key="pregunta_button"):
166
  user_input("A qué entidad se refiere más el contenido del documento?")
167
  st.markdown('</div>', unsafe_allow_html=True)
168
 
169
  st.markdown('<div class="custom-button">', unsafe_allow_html=True)
170
- if st.button("Fecha implantación", key="pregunta_button"):
171
  user_input("En qué fecha se implantará el contenido del documento?")
172
  st.markdown('</div>', unsafe_allow_html=True)
173
 
 
130
  border: 2px solid gray;
131
  color: gray;
132
  transition: all 0.3s ease;
133
+ margin-right: 10px; /* Espacio entre botones */
134
  }
135
  .custom-button button:hover {
136
  background-color: gray;
137
  color: white;
138
  }
139
+ .custom-button {
140
+ display: flex;
141
+ gap: 10px; /* Espacio entre botones */
142
+ }
143
  </style>
144
  """,
145
  unsafe_allow_html=True
 
167
  st.markdown('</div>', unsafe_allow_html=True)
168
 
169
  st.markdown('<div class="custom-button">', unsafe_allow_html=True)
170
+ if st.button("Entidad", key="entidad_button"):
171
  user_input("A qué entidad se refiere más el contenido del documento?")
172
  st.markdown('</div>', unsafe_allow_html=True)
173
 
174
  st.markdown('<div class="custom-button">', unsafe_allow_html=True)
175
+ if st.button("Fecha implantación", key="fecha_button"):
176
  user_input("En qué fecha se implantará el contenido del documento?")
177
  st.markdown('</div>', unsafe_allow_html=True)
178