Spaces:
Sleeping
Sleeping
Update pages/1_Players_Info.py
Browse files- pages/1_Players_Info.py +8 -0
pages/1_Players_Info.py
CHANGED
|
@@ -246,3 +246,11 @@ if not selected_player_data.empty:
|
|
| 246 |
f'box-shadow:2px 2px 6px rgba(0,0,0,0.1); text-align:center;">'
|
| 247 |
f'<b>{key}</b><br>{value}</div>' for key, value in stats.items()
|
| 248 |
])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 246 |
f'box-shadow:2px 2px 6px rgba(0,0,0,0.1); text-align:center;">'
|
| 247 |
f'<b>{key}</b><br>{value}</div>' for key, value in stats.items()
|
| 248 |
])
|
| 249 |
+
|
| 250 |
+
st.markdown(f"""
|
| 251 |
+
<div style="background-color:{bg}; padding:15px; border-radius:12px; margin-bottom:15px;
|
| 252 |
+
box-shadow:0 2px 8px rgba(0,0,0,0.08);">
|
| 253 |
+
<h4 style="margin-bottom:10px;"><b>{fmt} Statistics</b></h4>
|
| 254 |
+
<div style="display:flex; flex-wrap:wrap; gap:15px;">{stat_html}</div>
|
| 255 |
+
</div>
|
| 256 |
+
""", unsafe_allow_html=True)
|