From d8ddc17451146c0ab16001cda4e2dd953c0131ec Mon Sep 17 00:00:00 2001 From: Alberto Vena Date: Thu, 6 Apr 2017 12:09:44 +0200 Subject: [PATCH] Fix datepicker style Probably #1777 introduced some visual bugs. This commit: - adjusts width of the whole datepicker to adapt to its content, was: width: 17em; - gives more spaces to arrows that currently are not completely shown --- .../stylesheets/spree/backend/components/_date-picker.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/app/assets/stylesheets/spree/backend/components/_date-picker.scss b/backend/app/assets/stylesheets/spree/backend/components/_date-picker.scss index 183cfceb9f9..08cb602fd25 100644 --- a/backend/app/assets/stylesheets/spree/backend/components/_date-picker.scss +++ b/backend/app/assets/stylesheets/spree/backend/components/_date-picker.scss @@ -9,6 +9,7 @@ border-radius: $border-radius; padding: 0; margin-top: 10px; + width: auto; &:before { content: ''; @@ -51,7 +52,7 @@ background-image: none; text-indent: 0; color: $color-1; - width: 10px; + width: 13px; margin-left: -5px; &:hover {