Skip to content

Commit

Permalink
fix(dropdown): flip chevron when open (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Maschewski authored and GitHub Enterprise committed Dec 21, 2021
1 parent c2ab567 commit 1c52a95
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions projects/ng-aquila/src/dropdown/dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ $dropdown-border-size: nx-border-size(xs);
@include var(color, negative);
}

:host([aria-expanded='true']) {
.nx-dropdown__chevron {
transform: rotateZ(180deg);
}
}

.nx-dropdown__container {
display: flex;
justify-content: flex-end;
Expand Down

0 comments on commit 1c52a95

Please sign in to comment.