Spaces:
Running
Running
James McCool
commited on
Commit
·
dc54118
1
Parent(s):
e83065b
Adjust column layout in app.py to improve the display of player cost per player, enhancing visual clarity with a markdown format for better user engagement in the lineup summary.
Browse files
app.py
CHANGED
@@ -1028,9 +1028,9 @@ with tab4:
|
|
1028 |
})
|
1029 |
summary_row = summary_row[['Salary', 'Median', 'Own%']]
|
1030 |
|
1031 |
-
col1, col2, col3 = st.columns(3)
|
1032 |
with col1:
|
1033 |
-
st.
|
1034 |
|
1035 |
with col3:
|
1036 |
st.markdown(
|
|
|
1028 |
})
|
1029 |
summary_row = summary_row[['Salary', 'Median', 'Own%']]
|
1030 |
|
1031 |
+
col1, col2, col3 = st.columns([1, 1, 3])
|
1032 |
with col1:
|
1033 |
+
st.markdown(f"**💰 Rem$/Player:** `${round((50000 - total_salary) / (10 - len(filled_lineup)), 0)}`")
|
1034 |
|
1035 |
with col3:
|
1036 |
st.markdown(
|