From c3ecdebe3932972be5ef5bb0a041b2f07e7b803e Mon Sep 17 00:00:00 2001 From: Ben Lloyd Jones Date: Sun, 30 Sep 2018 16:51:12 +0100 Subject: [PATCH] Fix the spacing on the time picker (#1495) An extra 70px of padding is turning up on the time picker in the latest versions of Firefox, Chrome and Safari, this is forcing hte time select to be clipped and not displayed properly. This is related to issue #1489 https://github.com/Hacker0x01/react-datepicker/issues/1489 --- src/stylesheets/datepicker.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/stylesheets/datepicker.scss b/src/stylesheets/datepicker.scss index 708fdbbdb..675260688 100644 --- a/src/stylesheets/datepicker.scss +++ b/src/stylesheets/datepicker.scss @@ -230,7 +230,8 @@ margin: 0; height: calc(195px + (#{$datepicker__item-size} / 2)); overflow-y: scroll; - padding-right: 30px; + padding-right: 0px; + padding-left: 0px; width: 100%; box-sizing: content-box;