From 3fa0a05f1a042dd39a6b258b07ea238a46bed6aa Mon Sep 17 00:00:00 2001 From: Tristan Yang Date: Fri, 17 Feb 2023 21:40:52 +0800 Subject: [PATCH] chore: tweak UI --- src/assets/index.css | 3 +++ src/routes/chat/Layout/index.tsx | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/assets/index.css b/src/assets/index.css index fc3893a8..d411e6e4 100644 --- a/src/assets/index.css +++ b/src/assets/index.css @@ -235,6 +235,9 @@ html.dark ::-webkit-scrollbar-thumb { flex-direction: column; align-items: flex-start; } +#MARKDOWN_CONTAINER .toastui-editor-contents iframe { + width: 100%; +} [class^="toastui-editor-"] .toastui-editor-md-container { border-bottom: none; } diff --git a/src/routes/chat/Layout/index.tsx b/src/routes/chat/Layout/index.tsx index b949260e..bc3b5da2 100644 --- a/src/routes/chat/Layout/index.tsx +++ b/src/routes/chat/Layout/index.tsx @@ -109,7 +109,7 @@ const Layout: FC = ({
{header}
-
+
{children}
{readonly ? (