Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Update from 0.37.7 to 0.38.0 break local css for Dash components #380

@EBoisseauSierra

Description

@EBoisseauSierra

TL;DR: 0.37.7 -> 0.38.0 breaks dcc css styling.

I have styled some dcc in a local .css file — e.g.:

.Select-control {
  width: 100%;
  font-family: sans-serif;
  height: 50px;
  border-radius: 0;
  font-size: 100%;
}

.Select-placeholder,
.Select-value-label {
  line-height: 50px;
}

.DateRangePicker,
.DateRangePickerInput {
  display: block;
}

.DateInput {
  min-width: 110px;
  width: 45%;
  text-align: center;
}

.DateInput__display-text {
  font-family: sans-serif;
  font-weight: normal;
}

.DateRangePickerInput__arrow{
  width: 10%;
  min-width: 24px;
  text-align: center;
}

.Select-menu-outer{
  font-family: sans-serif;
}

The file is stored in my asset folder. It contains other style for other elements too.
When I upgraded from 0.37.2 to 0.38.0, the css file is still loaded (other elements do get styled), however, dcc are not styled anymore:

pip install -Iv dash-core-components==0.37.2: OK (right dropdown size)
screenshot from 2018-11-13 15-31-26

pip install -Iv dash-core-components==0.38.0: ERROR (dropdowns are styled as default, despite css)
screenshot from 2018-11-13 15-31-04

Metadata

Metadata

Labels

dash-type-bugSomething isn't working as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions