Skip to content

Commit

Permalink
bigger tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariana Vivas authored and Mariana Vivas committed Nov 4, 2024
1 parent 97cbbca commit a76da69
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions 05_class_toolkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,14 @@ def run(selected_language):
if st.button(done, key="glossary_done"):
st.session_state["expanded_glossary"] = False
st.rerun() # Refresh the app to show the preview again

# Making the tabs font bigger
css = '''
<style>
.stTabs [data-baseweb="tab-list"] button [data-testid="stMarkdownContainer"] p {
font-size:1.08rem;
}
</style>
'''

st.markdown(css, unsafe_allow_html=True)

0 comments on commit a76da69

Please sign in to comment.