We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e6af1d commit a734909Copy full SHA for a734909
src/components/ui/markdown/parsers/container.tsx
@@ -62,7 +62,7 @@ export const ContainerRule: MarkdownToJSX.Rule = {
62
<Markdown
63
value={content}
64
allowsScript
65
- className="[&>p:first-child]:mt-0"
+ className="w-full [&>p:first-child]:mt-0"
66
/>
67
</Banner>
68
)
@@ -74,7 +74,11 @@ export const ContainerRule: MarkdownToJSX.Rule = {
74
75
return (
76
<Banner type={params} className="my-4" key={state?.key}>
77
- <Markdown value={content} allowsScript />
+ <Markdown
78
+ value={content}
79
+ allowsScript
80
81
+ />
82
83
84
}
0 commit comments