Skip to content

[Feature Request] dcc.DatePickerRange inputs should take 100% width by default #3741

@Farkites

Description

@Farkites

Is your feature request related to a problem? Please describe.
In Dash v4 the inputs of the dcc.DatePickerRange component (start-date and end-date) have a hardcoded width of 76px. This doesn't look good when the component is wide (let's say 500px).

Image

Describe the solution you'd like
By default these inputs should take the full width of the component.

Describe alternatives you've considered
It's possible to style this easily by setting the properties

start_date_id='start-date',
end_date_id='end-date',

and styling them with:

#start-date, #end-date {
  width: 50% !important;
}

It would be nice if this was the default.

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions