Spaces:
Sleeping
Sleeping
cha0smagick
commited on
Commit
•
76260c7
1
Parent(s):
92e414c
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,8 @@ st.markdown(
|
|
46 |
margin: 20px auto;
|
47 |
text-align: center;
|
48 |
text-decoration: none;
|
49 |
-
width:
|
|
|
50 |
}
|
51 |
.button:hover {
|
52 |
background-color: #1976D2;
|
@@ -61,10 +62,6 @@ st.markdown(
|
|
61 |
padding: 10px;
|
62 |
border: 1px solid #ddd;
|
63 |
}
|
64 |
-
.center {
|
65 |
-
display: flex;
|
66 |
-
justify-content: center;
|
67 |
-
}
|
68 |
</style>
|
69 |
""",
|
70 |
unsafe_allow_html=True
|
@@ -84,4 +81,4 @@ if st.button("Actualizar datos", key='update_button', help="Actualiza las estad
|
|
84 |
st.dataframe(df[['coin', 'name', 'price', 'volume', 'algorithm', 'difficulty', 'reward_block']],
|
85 |
use_container_width=True)
|
86 |
else:
|
87 |
-
st.markdown('<
|
|
|
46 |
margin: 20px auto;
|
47 |
text-align: center;
|
48 |
text-decoration: none;
|
49 |
+
width: 100%; /* Cambiado a 100% para ampliar el botón */
|
50 |
+
max-width: 300px; /* Puedes ajustar el ancho máximo según sea necesario */
|
51 |
}
|
52 |
.button:hover {
|
53 |
background-color: #1976D2;
|
|
|
62 |
padding: 10px;
|
63 |
border: 1px solid #ddd;
|
64 |
}
|
|
|
|
|
|
|
|
|
65 |
</style>
|
66 |
""",
|
67 |
unsafe_allow_html=True
|
|
|
81 |
st.dataframe(df[['coin', 'name', 'price', 'volume', 'algorithm', 'difficulty', 'reward_block']],
|
82 |
use_container_width=True)
|
83 |
else:
|
84 |
+
st.markdown('<p style="text-align: center;">Presiona el botón para actualizar los datos.</p>', unsafe_allow_html=True)
|