Skip to content

Commit

Permalink
CMS-620: Flip the dropdown icon upside down on open (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
duncan-oxd authored Jan 23, 2025
1 parent 1409df3 commit 6c8b8e7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions frontend/src/styles/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,11 @@ label.form-check-label {
color: var(--icons-color-danger);
}
}

// custom style for bootstrap dropdowns
.dropdown-toggle {
// flip the arrow icon when the dropdown is open
&[aria-expanded="true"]:after {
transform: rotate(180deg);
}
}

0 comments on commit 6c8b8e7

Please sign in to comment.