Skip to content

Commit 03d5700

Browse files
committed
✨ Add emoji to the turn off button and make it the size of sidebar
1 parent 1d6db07 commit 03d5700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vuegen/streamlit_reportview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def generate_report(
164164
report_nav = st.navigation(sections_pages)
165165
166166
# Following https://discuss.streamlit.io/t/close-streamlit-app-with-button-click/35132/5
167-
exit_app = st.sidebar.button("Shut Down App")
167+
exit_app = st.sidebar.button("Shut Down App", icon=":material/power_off:", use_container_width=True)
168168
if exit_app:
169169
st.toast("Shutting down the app...")
170170
time.sleep(1)

0 commit comments

Comments
 (0)