Fix empty space top of Site #12

Merged
meulilivio merged 1 commits from feature/backend_implementation into main 2026-04-24 14:52:54 +02:00

View File

@ -14,10 +14,18 @@ init_state()
def main():
st.set_page_config(
page_title="Lightweight code editor",
layout="wide")
st.set_page_config(page_title="Lightweight code editor", layout="wide")
st.markdown(
"""
<style>
.block-container { padding-top: 1rem; }
[data-testid="stSidebarContent"] { padding-top: 0rem; margin-top: -2rem; }
</style>
""",
unsafe_allow_html=True,
)
st.title("Lightweight code editor")
init_state()
@ -28,6 +36,6 @@ def main():
render_editor()
elif st.session_state.get("radio_interface_options") == "Chat with AI Assistant":
render_chat()
if __name__ == "__main__":
main()