Hello guys, I’m pretty new to dash and I’m trying to have my elements aligned correctly.
In this situation I want the date selector to be closer to the text something like this
I have the elements on dbc.Row and dbc.Col but I’m really struggling with alignment.
You could set
width="auto" on the
"Pick a Date:". This means the column resizes to the width of its contents, rather than an equal portion of the total available space (the default and what you’re seeing above).
You might find the example “Inline form” in the docs instructive also: Form - dbc docs