Update my_pages/home.py
Browse files- my_pages/home.py +2 -1
my_pages/home.py
CHANGED
|
@@ -29,7 +29,6 @@ def render():
|
|
| 29 |
font-size: 35px !important;
|
| 30 |
font-weight: bold !important;
|
| 31 |
text-align: left !important;
|
| 32 |
-
width: 150px!important;
|
| 33 |
}
|
| 34 |
</style>
|
| 35 |
""",
|
|
@@ -62,6 +61,8 @@ def render():
|
|
| 62 |
latex_content = r"$" + r"\\".join([rf"\text{{{line}}}" for line in text]) + r"$"
|
| 63 |
# button_clicked_dict[page] = st.button(rf"$\small\text{{{text[0]}}}$", type="primary")
|
| 64 |
button_clicked_dict[page] = st.button(latex_content, type="primary")
|
|
|
|
|
|
|
| 65 |
|
| 66 |
for page in button_clicked_dict:
|
| 67 |
if button_clicked_dict[page]:
|
|
|
|
| 29 |
font-size: 35px !important;
|
| 30 |
font-weight: bold !important;
|
| 31 |
text-align: left !important;
|
|
|
|
| 32 |
}
|
| 33 |
</style>
|
| 34 |
""",
|
|
|
|
| 61 |
latex_content = r"$" + r"\\".join([rf"\text{{{line}}}" for line in text]) + r"$"
|
| 62 |
# button_clicked_dict[page] = st.button(rf"$\small\text{{{text[0]}}}$", type="primary")
|
| 63 |
button_clicked_dict[page] = st.button(latex_content, type="primary")
|
| 64 |
+
if page not in ["ica"]:
|
| 65 |
+
st.markdown(" ")
|
| 66 |
|
| 67 |
for page in button_clicked_dict:
|
| 68 |
if button_clicked_dict[page]:
|