Skip to content

Commit

Permalink
Accordion indicator fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
calebjacob committed Feb 26, 2025
1 parent 92b72e8 commit d4469fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@near-pagoda/ui",
"version": "3.2.0",
"version": "3.2.1",
"description": "A React component library that implements the official NEAR design system.",
"license": "MIT",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions src/components/Accordion/Accordion.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,12 @@
stroke: currentColor;
}

[data-state='open'] & {
.header[data-state='open'] & {
transform: rotate(180deg);
}
}

.content {
overflow: hidden;
font: var(--text-s);
padding-block: var(--gap-m);

Expand All @@ -66,6 +65,7 @@
}
&[data-state='closed'] {
animation: slideUp var(--transition-speed);
overflow: hidden;
}

@keyframes slideDown {
Expand Down

0 comments on commit d4469fe

Please sign in to comment.