Skip to content

Commit

Permalink
fix(components): fixed style selector on datepicker style
Browse files Browse the repository at this point in the history
feature/150167-datepicker
  • Loading branch information
liviaalmeida committed Nov 7, 2019
1 parent 38a30e2 commit ac7f314
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/scss/components/_datepicker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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%;
}
Expand Down Expand Up @@ -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;
Expand All @@ -190,7 +190,6 @@ $icon-size: 1.7*$m;
cursor: pointer;
width: 5*$m;
text-align: center;
margin: 0 $u;

div {
border-radius: 4px;
Expand Down

0 comments on commit ac7f314

Please sign in to comment.