From 082165ddcb3618f850558b39e17ed622cafecc12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Rivet?= Date: Thu, 11 Apr 2019 18:38:00 -0400 Subject: [PATCH] Issue 518 - Fix react dates regression in dash==0.41.0 (#519) --- CHANGELOG.md | 4 ++++ src/components/css/react-dates@20.1.0-fix.css | 3 +++ src/index.js | 1 + 3 files changed, 8 insertions(+) create mode 100644 src/components/css/react-dates@20.1.0-fix.css diff --git a/CHANGELOG.md b/CHANGELOG.md index dd7020aad..26545cb86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [Unreleased] +### Fixed +- Fix style regression in DatePickerSingle and DatePickerRange [#518](https://github.com/plotly/dash-core-components/issues/518) + ## [0.46.0] - 2019-04-10 ### Added - `extendData` prop for `Graph` component. This feeds `Plotly.extendTraces` for incremental data updates. [#461](https://github.com/plotly/dash-core-components/pull/461) diff --git a/src/components/css/react-dates@20.1.0-fix.css b/src/components/css/react-dates@20.1.0-fix.css new file mode 100644 index 000000000..be2df851b --- /dev/null +++ b/src/components/css/react-dates@20.1.0-fix.css @@ -0,0 +1,3 @@ +.DateInput_input { + box-sizing: border-box; +} \ No newline at end of file diff --git a/src/index.js b/src/index.js index 0d7863e13..7c46106b4 100644 --- a/src/index.js +++ b/src/index.js @@ -24,6 +24,7 @@ import Store from './components/Store.react'; import LogoutButton from './components/LogoutButton.react'; import 'react-dates/lib/css/_datepicker.css'; +import './components/css/react-dates@20.1.0-fix.css'; export { Checklist,