This repository was archived by the owner on Jun 22, 2019. It is now read-only.
This repository was archived by the owner on Jun 22, 2019. It is now read-only.
Table width breaks layout when loading an local css file #45
Open
Description
Love your work!
I'm using a workaround to load a local stylesheet from here:
https://community.plot.ly/t/how-do-i-use-dash-to-add-local-css/4914/9
I find that:
- datatable loads inside
.container
, sets its own width to page width - stylesheet loads, sets the
.container
width to 960px - datatable overflows
.container
(see screenshot) - resizing the window updates the datatable width, correcting the issue
Funnily enough - it doesn't seem to occur when using your codepen URL:
https://codepen.io/chriddyp/pen/bWLwgP.css
Wasn't sure of the best place to report this - figured that it was likely a datatable issue, but maybe it relates to / is solved by allow optional header and footer #171
For the moment, I'm just adding overflow-x: scroll
to the container, but I'd thought you'd like to know...
Cheers, ptim
Metadata
Metadata
Assignees
Labels
No labels