From 9eec02eede3614e766d5bd03778c0e226ad24243 Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Mon, 17 Jun 2024 21:53:45 +0700 Subject: [PATCH 1/2] chore: upgrade marked-katex-extension (#3049) --- web/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/package.json b/web/package.json index e5106711c9..53e04c3e6b 100644 --- a/web/package.json +++ b/web/package.json @@ -28,7 +28,7 @@ "lucide-react": "^0.291.0", "marked": "^9.1.2", "marked-highlight": "^2.0.6", - "marked-katex-extension": "^5.0.1", + "marked-katex-extension": "^5.0.2", "next": "14.2.3", "next-themes": "^0.2.1", "postcss": "8.4.31", From 8f7f5129123b8cded2e005704c956b37bae929a7 Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Mon, 17 Jun 2024 21:54:11 +0700 Subject: [PATCH 2/2] fix: handle long word without space to avoid right panel disappears (#3048) --- .../Thread/ThreadCenterPanel/SimpleTextMessage/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/screens/Thread/ThreadCenterPanel/SimpleTextMessage/index.tsx b/web/screens/Thread/ThreadCenterPanel/SimpleTextMessage/index.tsx index 43d2f02c9e..e11482d0eb 100644 --- a/web/screens/Thread/ThreadCenterPanel/SimpleTextMessage/index.tsx +++ b/web/screens/Thread/ThreadCenterPanel/SimpleTextMessage/index.tsx @@ -201,7 +201,7 @@ const SimpleTextMessage: React.FC = (props) => { )} -
+
<> {props.content[0]?.type === ContentType.Image && (