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.

[BUG] bWLwgP.css breaks dcc.DatePickerSingle #658

@akbo

Description

@akbo

Describe your context

dash                 1.3.0    
dash-core-components 1.2.0    
dash-html-components 1.0.1    
dash-renderer        1.1.0    
dash-table           4.3.0
  • OS: macOS 10.14.6
  • Browser Chrome
  • Version 76.0.3809.132

Describe the bug

The external stylesheet used in many examples in the dcc section of the docs (example), contains CSS about how tables are rendered, breaking how dcc.DatePickerSingle renders.

Stylesheet: https://codepen.io/chriddyp/pen/bWLwgP.css

CSS Lines that break the date picker (438-453):

/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
table {
  border-collapse: collapse;
}
th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #E1E1E1; }
th:first-child,
td:first-child {
  padding-left: 0; }
th:last-child,
td:last-child {
  padding-right: 0; }

Expected behavior

Date picker shows all days of the month and is not cut off (see screenshots below).

Screenshots

Screenshot WITHOUT the CSS:
Screen Shot 2019-09-19 at 16 21 43

Screenshot WITH the CSS:
Screen Shot 2019-09-19 at 16 21 23

Metadata

Metadata

Assignees

No one assigned

    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