From 752c083905d642b964b87fcf599faf4a6f4f8f2a Mon Sep 17 00:00:00 2001 From: HimiCos Date: Wed, 29 Mar 2023 20:53:23 +0800 Subject: [PATCH] fix: dialog height --- app/components/markdown.tsx | 1 - app/styles/markdown.scss | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/components/markdown.tsx b/app/components/markdown.tsx index 17e04231..6e0e6d86 100644 --- a/app/components/markdown.tsx +++ b/app/components/markdown.tsx @@ -34,7 +34,6 @@ export function Markdown(props: { content: string }) { components={{ pre: PreCode, }} - className="line-break" > {props.content} diff --git a/app/styles/markdown.scss b/app/styles/markdown.scss index 579f91c5..107c1b80 100644 --- a/app/styles/markdown.scss +++ b/app/styles/markdown.scss @@ -1116,7 +1116,4 @@ .markdown-body ::-webkit-calendar-picker-indicator { filter: invert(50%); -} -.markdown-body .line-break { - white-space: pre-wrap; -} +} \ No newline at end of file