Skip to content

Commit

Permalink
fix(slash): rotate only header glyphicon collapse card
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinWeb committed Dec 23, 2024
1 parent 56ae05e commit 37d9767
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion slash/css/src/Accordion/Accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ $minHeight: 3rem;
}

&__details[open] {
.glyphicon {
.glyphicon-menu-down {
transform: rotate(180deg);
}
}
Expand Down
3 changes: 3 additions & 0 deletions slash/react/src/Accordion/Accordion.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Meta, StoryObj } from "@storybook/react";
import { Accordion } from "./Accordion";
import { CollapseCard } from "./CollapseCard";
import { CheckboxItem } from "../Form/Checkbox";

const meta: Meta<typeof Accordion> = {
title: "Components/Accordion",
Expand All @@ -19,6 +20,8 @@ export const Default: StoryObj<typeof Accordion> = {
management, and other financial services.
</p>

<CheckboxItem label="Check me" />

<p>
The AXA Group operates primarily in Western Europe, North America, the
Asia Pacific region, and the Middle East, with a presence also in
Expand Down

0 comments on commit 37d9767

Please sign in to comment.