Single Date Picker Label Positioning

Hello, Does anyone have an easy way to position the label of a single date picker dcc to the top? Currently it is positioned to the left of my date picker.

Thanks!

Disregard, I figured it out. Changing the className=‘d-table’ did the trick!

html.Label('MSN Date',className='d-table'),
            dcc.DatePickerSingle(date= today,display_format='MM/DD/YYYY')
            ),
1 Like

Hello @Kmike,

Welcome to the community!

Glad you figured it out and thank you for posting what helped you. :grin:

2 Likes