From ac7f3146b6a134f211abf87aaddc589c5e86fb51 Mon Sep 17 00:00:00 2001 From: liviaalmeida Date: Thu, 7 Nov 2019 16:09:11 -0300 Subject: [PATCH] fix(components): fixed style selector on datepicker style feature/150167-datepicker --- src/scss/components/_datepicker.scss | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/scss/components/_datepicker.scss b/src/scss/components/_datepicker.scss index 91dd3ed..7a59979 100644 --- a/src/scss/components/_datepicker.scss +++ b/src/scss/components/_datepicker.scss @@ -88,7 +88,7 @@ $icon-size: 1.7*$m; cursor: default; width: 2*$m; height: $m; - padding: 0; + padding: 0 0.3*$m; } .week-day { @@ -111,12 +111,12 @@ $icon-size: 1.7*$m; background-color: $bp-color-bot; } - &:not(.in-range) ~ .range-limit { + &:not(.in-range) + .range-limit { border-top-left-radius: 50%; border-bottom-left-radius: 50%; } - &.in-range ~ .range-limit { + &.in-range + .range-limit { border-top-right-radius: 50%; border-bottom-right-radius: 50%; } @@ -177,7 +177,7 @@ $icon-size: 1.7*$m; font-size: $bp-fs-7; color: $bp-color-desk; background-color: $bp-color-white; - padding: $m 1.5*$m 3*$m; + padding: $m 0 3*$m; display: flex; flex-direction: column; justify-content: space-between; @@ -190,7 +190,6 @@ $icon-size: 1.7*$m; cursor: pointer; width: 5*$m; text-align: center; - margin: 0 $u; div { border-radius: 4px;