James McCool
commited on
Commit
·
547c91f
1
Parent(s):
6b0070e
Update Streamlit app styles by changing text color and adjusting width for improved visual consistency and user experience.
Browse files- src/streamlit_app.py +3 -4
src/streamlit_app.py
CHANGED
|
@@ -29,7 +29,7 @@ st.markdown("""
|
|
| 29 |
height: 45px;
|
| 30 |
white-space: pre-wrap;
|
| 31 |
background-color: #DAA520;
|
| 32 |
-
color:
|
| 33 |
border-radius: 10px;
|
| 34 |
gap: 1px;
|
| 35 |
padding: 10px 20px;
|
|
@@ -40,8 +40,7 @@ st.markdown("""
|
|
| 40 |
height: 50px;
|
| 41 |
background-color: #DAA520;
|
| 42 |
border: 3px solid #FFD700;
|
| 43 |
-
color:
|
| 44 |
-
font-size: 1.000rem;
|
| 45 |
}
|
| 46 |
.stElementContainer [kind="segmented_control"]:hover {
|
| 47 |
background-color: #FFD700;
|
|
@@ -75,7 +74,7 @@ selected_tab = st.segmented_control(
|
|
| 75 |
options=["Regular Slate Contest Sims", "Showdown Contest Sims"],
|
| 76 |
selection_mode='single',
|
| 77 |
default='Regular Slate Contest Sims',
|
| 78 |
-
width='
|
| 79 |
label_visibility='collapsed',
|
| 80 |
key='tab_selector'
|
| 81 |
)
|
|
|
|
| 29 |
height: 45px;
|
| 30 |
white-space: pre-wrap;
|
| 31 |
background-color: #DAA520;
|
| 32 |
+
color: white;
|
| 33 |
border-radius: 10px;
|
| 34 |
gap: 1px;
|
| 35 |
padding: 10px 20px;
|
|
|
|
| 40 |
height: 50px;
|
| 41 |
background-color: #DAA520;
|
| 42 |
border: 3px solid #FFD700;
|
| 43 |
+
color: black;
|
|
|
|
| 44 |
}
|
| 45 |
.stElementContainer [kind="segmented_control"]:hover {
|
| 46 |
background-color: #FFD700;
|
|
|
|
| 74 |
options=["Regular Slate Contest Sims", "Showdown Contest Sims"],
|
| 75 |
selection_mode='single',
|
| 76 |
default='Regular Slate Contest Sims',
|
| 77 |
+
width='content',
|
| 78 |
label_visibility='collapsed',
|
| 79 |
key='tab_selector'
|
| 80 |
)
|