Skip to content

Commit 4feb1f3

Browse files
committed
chore(accordion): fixed example for Safari
1 parent 0db529c commit 4feb1f3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/primitives/accordion/stories/styles.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ h3 {
100100
background-color: var(--mauve-2);
101101
}
102102

103+
.AccordionContent[hidden] {
104+
display: none !important;
105+
}
106+
103107
.AccordionContent[data-orientation='vertical'][data-state='open'] {
104108
animation: slideDown 1300ms cubic-bezier(0.87, 0, 0.13, 1);
105109
}

0 commit comments

Comments
 (0)