prakharg24 commited on
Commit
9630c86
·
verified ·
1 Parent(s): 05414fd

Update my_pages/home.py

Browse files
Files changed (1) hide show
  1. my_pages/home.py +2 -2
my_pages/home.py CHANGED
@@ -29,7 +29,7 @@ def render():
29
  color: #3366cc !important;
30
  }
31
  button[kind="primary"] span {
32
- font-size: 50px !important;
33
  font-weight: bold !important;
34
  }
35
  </style>
@@ -60,7 +60,7 @@ def render():
60
  # string_to_add =
61
 
62
  # Join with LaTeX line breaks
63
- latex_content = r"$\small" + r"\\".join([rf"\text{{{line}}}" for line in text]) + r"$"
64
  # button_clicked_dict[page] = st.button(rf"$\small\text{{{text[0]}}}$", type="primary")
65
  button_clicked_dict[page] = st.button(latex_content, type="primary")
66
 
 
29
  color: #3366cc !important;
30
  }
31
  button[kind="primary"] span {
32
+ font-size: 30px !important;
33
  font-weight: bold !important;
34
  }
35
  </style>
 
60
  # string_to_add =
61
 
62
  # Join with LaTeX line breaks
63
+ latex_content = r"$" + r"\\".join([rf"\text{{{line}}}" for line in text]) + r"$"
64
  # button_clicked_dict[page] = st.button(rf"$\small\text{{{text[0]}}}$", type="primary")
65
  button_clicked_dict[page] = st.button(latex_content, type="primary")
66