From dee13a11c6a6a93527e123f9fbd2a0ee075812a5 Mon Sep 17 00:00:00 2001 From: ZeroCool940711 Date: Sun, 11 Sep 2022 22:23:59 -0700 Subject: [PATCH] Changed some values to be dynamic instead of a fixed value so they are more responsive. --- frontend/css/streamlit.main.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/css/streamlit.main.css b/frontend/css/streamlit.main.css index e33f1e4..e6e09c4 100644 --- a/frontend/css/streamlit.main.css +++ b/frontend/css/streamlit.main.css @@ -59,8 +59,8 @@ button[kind="header"] { /* The navigation menu specs and size */ section[data-testid="stSidebar"] > div { height: 100%; - width: 95px !important; - min-width: 95px !important; + width: 4% !important; + min-width: 100% !important; position: relative; z-index: 1; top: 0; @@ -79,8 +79,8 @@ button[kind="header"] { /* added to avoid main sectors (all element to the right of sidebar from) moving */ section[data-testid="stSidebar"] { - width: 95px !important; - min-width: 95px !important; + width: 4% !important; + min-width: 4% !important; } }