Update app.py
Browse files
app.py
CHANGED
|
@@ -28,8 +28,8 @@ def logged_in_interface():
|
|
| 28 |
<style>
|
| 29 |
.stSelectbox { margin-left: -20px; }
|
| 30 |
div[data-testid="stSelectbox"] {
|
| 31 |
-
margin-top:
|
| 32 |
-
margin-bottom: 10px; /* Ajusta este valor para controlar el espacio debajo del
|
| 33 |
}
|
| 34 |
</style>
|
| 35 |
""", unsafe_allow_html=True)
|
|
@@ -37,6 +37,19 @@ def logged_in_interface():
|
|
| 37 |
lang_code = languages[selected_lang]
|
| 38 |
|
| 39 |
with col5:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
if st.button("Cerrar Sesi贸n", key="logout_button"):
|
| 41 |
st.session_state.logged_in = False
|
| 42 |
st.experimental_rerun()
|
|
|
|
| 28 |
<style>
|
| 29 |
.stSelectbox { margin-left: -20px; }
|
| 30 |
div[data-testid="stSelectbox"] {
|
| 31 |
+
margin-top: 0px; /* Ajusta este valor para mover el combo hacia abajo */
|
| 32 |
+
margin-bottom: 10px; /* Ajusta este valor para controlar el espacio debajo del combo */
|
| 33 |
}
|
| 34 |
</style>
|
| 35 |
""", unsafe_allow_html=True)
|
|
|
|
| 37 |
lang_code = languages[selected_lang]
|
| 38 |
|
| 39 |
with col5:
|
| 40 |
+
st.markdown("""
|
| 41 |
+
<style>
|
| 42 |
+
div[data-testid="stButton"] {
|
| 43 |
+
margin-top: 0px; /* Usa el mismo valor que usaste para el selector de idioma */
|
| 44 |
+
margin-bottom: 10px;
|
| 45 |
+
}
|
| 46 |
+
div[data-testid="stButton"] > button {
|
| 47 |
+
width: 100%;
|
| 48 |
+
padding: 8px 10px; /* Ajusta este valor para que el bot贸n tenga una altura similar al selector */
|
| 49 |
+
font-size: 1rem;
|
| 50 |
+
}
|
| 51 |
+
</style>
|
| 52 |
+
""", unsafe_allow_html=True)
|
| 53 |
if st.button("Cerrar Sesi贸n", key="logout_button"):
|
| 54 |
st.session_state.logged_in = False
|
| 55 |
st.experimental_rerun()
|