Skip to content

Commit e5100df

Browse files
committed
fix: FAQ story container
1 parent 4334f22 commit e5100df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Faq/Faq.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const meta = {
77
component: FaqComponent,
88
decorators: [
99
(Story) => (
10-
<div className="mx-auto w-[52rem] max-w-full p-4">
10+
<div className="mx-auto w-[calc(100vw-2rem)] max-w-[min(52rem,100%)] p-4">
1111
<Story />
1212
</div>
1313
),
@@ -18,7 +18,7 @@ export default meta
1818

1919
export const Faq: StoryObj = {
2020
render: () => (
21-
<FaqComponent type="single" collapsible className="w-full">
21+
<FaqComponent type="single" collapsible>
2222
<FaqItem value="item-1">
2323
<FaqTrigger>
2424
<h2 className="text-start text-base md:text-xl">

0 commit comments

Comments
 (0)