From ea6e5d094ffb8c83df10bf19bf61b3f230f0f67e Mon Sep 17 00:00:00 2001 From: "Mark Edward M. Gonzales" Date: Wed, 8 Nov 2023 00:55:06 +0800 Subject: [PATCH] Fix width alignment --- src/pages/home.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/pages/home.py b/src/pages/home.py index 383ec4b..3a05e1f 100644 --- a/src/pages/home.py +++ b/src/pages/home.py @@ -49,7 +49,7 @@ dbc.Input(id='search-word', n_submit=0), dbc.Button('Search', color='dark', id='search-word-submit-btn', n_clicks=0) - ], style={'width': '65%'}) + ], style={'width': '62%'}) ], style={'position': 'fixed', 'width': 'inherit', 'backgroundColor': 'white', @@ -94,11 +94,12 @@ dcc.Dropdown( id='communities-dropdown', value='Sense 1', - className='mb-4' + className='mb-4', + clearable=False, ), dcc.Loading(html.Div(id='network-cooccurring-words')) - ]) + ], className='pe-5') ]) # ========================= @@ -296,7 +297,7 @@ ]), width=9, style={'paddingLeft': '5em', - 'paddingRight': '2em'} + 'paddingRight': '3em'} ), dbc.Col(sidebar, width=3)