Hi,
I have added st.code element to a tab. Since the code can be 100+ LoC, I want to restrict the height and add a vertical scroller so that my entire page is not filled up. Is there an easy way to do this? My code and ss:
st.header("Preprocess Step", divider=True)
tab1, tab2, tab3, tab4 = st.tabs(["File 1", "File 2", "File 3", "File 4"])
with tab1:
st.code(codestr1, language='solidity')
with tab2:
st.code(codestr2, language='solidity')
with tab3:
st.code(codestr3, language='solidity')
with tab4:
st.code(codestr4, language='solidity')