Skip to content

Commit 07c6f6d

Browse files
authored
fix: prose-pre style to fix width (#3819)
1 parent 34673f5 commit 07c6f6d

File tree

1 file changed

+1
-1
lines changed
  • packages/grant-explorer/src/features/round/ViewProjectDetails/components

1 file changed

+1
-1
lines changed

packages/grant-explorer/src/features/round/ViewProjectDetails/components/Detail.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export function Detail(props: { text: string; testID: string }) {
66
dangerouslySetInnerHTML={{
77
__html: renderToHTML(props.text.replace(/\n/g, "\n\n")),
88
}}
9-
className="text-blue-800 text-md prose prose-h1:text-lg prose-h2:text-base prose-h3:text-base prose-a:text-blue-600 max-w-full"
9+
className="prose-pre:whitespace-pre-wrap text-blue-800 text-md prose prose-h1:text-lg prose-h2:text-base prose-h3:text-base prose-a:text-blue-600 max-w-full"
1010
data-testid={props.testID}
1111
/>
1212
);

0 commit comments

Comments
 (0)