Skip to content

Commit

Permalink
Fixing default chevron icon appearance in accordion component (#730)
Browse files Browse the repository at this point in the history
  • Loading branch information
ollips authored Dec 11, 2024
1 parent 9460d2f commit 53d1cbc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/late-otters-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@microsoft/atlas-css': minor
---

Fixing default chevron icon appearance in accordion component.
5 changes: 5 additions & 0 deletions css/src/components/accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,15 @@ $accordion-transition: transform 0.15s !default;
summary {
display: flex;
line-height: 1.5;
list-style: none;
cursor: pointer;
padding-block: $accordion-spacing;
gap: $accordion-gap;

&::-webkit-details-marker {
display: none;
}

&::before,
&::after {
// Prevents chevron from being clipped when accordion title is long
Expand Down

0 comments on commit 53d1cbc

Please sign in to comment.