Skip to content

Commit

Permalink
fix(datepicker): improve right arrow css selector (#3931)
Browse files Browse the repository at this point in the history
Now using `ngb-dp-arrow.right .ngb-dp-navigation-chevron` instead of `.right .ngb-dp-navigation-chevron`.

Fixes #3872
  • Loading branch information
maxokorokov committed Jan 8, 2021
1 parent 9dd3044 commit 6790a3e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/datepicker/datepicker-navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ ngb-datepicker-navigation {
transform: rotate(-135deg);
}

.right &-navigation-chevron {
transform: rotate(45deg);
margin-left: 0.15em;
margin-right: 0.25em;
}

&-arrow {
display: flex;
flex: 1 1 auto;
Expand All @@ -32,6 +26,12 @@ ngb-datepicker-navigation {

&.right {
justify-content: flex-end;

.ngb-dp-navigation-chevron {
transform: rotate(45deg);
margin-left: 0.15em;
margin-right: 0.25em;
}
}

}
Expand Down Expand Up @@ -67,4 +67,4 @@ ngb-datepicker-navigation {
display: flex;
flex: 1 1 9rem;
}
}
}

0 comments on commit 6790a3e

Please sign in to comment.