Skip to content

Commit 4d2274e

Browse files
Fix accordion overflow
1 parent 34465c2 commit 4d2274e

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.changeset/hungry-frogs-tie.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@saleor/macaw-ui": patch
3+
---
4+
5+
Fix Accordion overflow.

src/components/Accordion/common.css.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
import { keyframes, style } from "@vanilla-extract/css";
22

3-
export const trigger = style({});
3+
export const trigger = style({
4+
selectors: {
5+
'&[data-state="open"]': {
6+
overflow: "visible",
7+
},
8+
},
9+
});
410

511
export const icon = style({
612
transition: "transform 300ms",

0 commit comments

Comments
 (0)