Center the date-picker for sample app
This commit is contained in:
parent
636366bfac
commit
7aef6b5923
|
@ -82,9 +82,11 @@ def sample_dash_app(config):
|
|||
# 'color': colors['text'],
|
||||
}),
|
||||
|
||||
dcc.DatePickerSingle(id='mydatepicker',
|
||||
html.Div([
|
||||
dcc.DatePickerSingle(id='mydatepicker',
|
||||
initial_visible_month=date,
|
||||
date=date.strftime('%Y-%m-%d')),
|
||||
], style={'textAlign': 'center'}),
|
||||
|
||||
dcc.Graph(
|
||||
id='example-graph',
|
||||
|
|
Loading…
Reference in a new issue