Spaces:
Sleeping
Sleeping
font again
Browse files
app.py
CHANGED
|
@@ -38,28 +38,29 @@ st.markdown(
|
|
| 38 |
st.markdown(
|
| 39 |
"""
|
| 40 |
<style>
|
| 41 |
-
/* Fix overflow in
|
| 42 |
-
.streamlit-expanderContent {
|
| 43 |
max-width: 700px;
|
| 44 |
word-wrap: break-word;
|
| 45 |
overflow-wrap: break-word;
|
| 46 |
white-space: pre-wrap;
|
|
|
|
| 47 |
}
|
| 48 |
|
| 49 |
-
/*
|
| 50 |
-
label[data-
|
| 51 |
font-size: 20px !important;
|
| 52 |
-
font-weight: 600;
|
| 53 |
-
color: #000000;
|
| 54 |
}
|
| 55 |
|
| 56 |
-
/* Optional:
|
| 57 |
-
|
| 58 |
font-size: 18px !important;
|
| 59 |
}
|
| 60 |
|
| 61 |
-
/* Optional:
|
| 62 |
-
|
| 63 |
font-size: 18px !important;
|
| 64 |
}
|
| 65 |
</style>
|
|
@@ -68,6 +69,7 @@ st.markdown(
|
|
| 68 |
)
|
| 69 |
|
| 70 |
|
|
|
|
| 71 |
# Add vertical spacing between banner and help text
|
| 72 |
st.markdown("<div style='margin-top: 40px;'></div>", unsafe_allow_html=True)
|
| 73 |
|
|
|
|
| 38 |
st.markdown(
|
| 39 |
"""
|
| 40 |
<style>
|
| 41 |
+
/* Fix content overflow in expanders and all custom containers */
|
| 42 |
+
.streamlit-expanderContent, .source-block {
|
| 43 |
max-width: 700px;
|
| 44 |
word-wrap: break-word;
|
| 45 |
overflow-wrap: break-word;
|
| 46 |
white-space: pre-wrap;
|
| 47 |
+
font-size: 16px;
|
| 48 |
}
|
| 49 |
|
| 50 |
+
/* Force label size on text input and selectboxes */
|
| 51 |
+
label[data-testid="stWidgetLabel"] {
|
| 52 |
font-size: 20px !important;
|
| 53 |
+
font-weight: 600 !important;
|
| 54 |
+
color: #000000 !important;
|
| 55 |
}
|
| 56 |
|
| 57 |
+
/* Optional: Adjust placeholder font size */
|
| 58 |
+
input[type="text"]::placeholder {
|
| 59 |
font-size: 18px !important;
|
| 60 |
}
|
| 61 |
|
| 62 |
+
/* Optional: Adjust the selected option inside the dropdown */
|
| 63 |
+
div[role="combobox"] * {
|
| 64 |
font-size: 18px !important;
|
| 65 |
}
|
| 66 |
</style>
|
|
|
|
| 69 |
)
|
| 70 |
|
| 71 |
|
| 72 |
+
|
| 73 |
# Add vertical spacing between banner and help text
|
| 74 |
st.markdown("<div style='margin-top: 40px;'></div>", unsafe_allow_html=True)
|
| 75 |
|