We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4334f22 commit e5100dfCopy full SHA for e5100df
src/components/Faq/Faq.stories.tsx
@@ -7,7 +7,7 @@ const meta = {
7
component: FaqComponent,
8
decorators: [
9
(Story) => (
10
- <div className="mx-auto w-[52rem] max-w-full p-4">
+ <div className="mx-auto w-[calc(100vw-2rem)] max-w-[min(52rem,100%)] p-4">
11
<Story />
12
</div>
13
),
@@ -18,7 +18,7 @@ export default meta
18
19
export const Faq: StoryObj = {
20
render: () => (
21
- <FaqComponent type="single" collapsible className="w-full">
+ <FaqComponent type="single" collapsible>
22
<FaqItem value="item-1">
23
<FaqTrigger>
24
<h2 className="text-start text-base md:text-xl">
0 commit comments