From f9711918a370e2363bb9c8d273e2225bdc0d9ca8 Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Fri, 11 Apr 2025 12:32:54 +0100 Subject: [PATCH] fix comment editor padding --- .../client/src/features/comment/components/comment.module.css | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/client/src/features/comment/components/comment.module.css b/apps/client/src/features/comment/components/comment.module.css index 87dc5994..b3d0a261 100644 --- a/apps/client/src/features/comment/components/comment.module.css +++ b/apps/client/src/features/comment/components/comment.module.css @@ -19,8 +19,7 @@ box-shadow: 0 0 0 2px var(--mantine-color-blue-3); } - .ProseMirror { - width: 100%; + .ProseMirror :global(.ProseMirror){ max-width: 100%; white-space: pre-wrap; word-break: break-word; @@ -29,7 +28,6 @@ padding-right: 6px; margin-top: 2px; margin-bottom: 2px; - font-size: 14px; overflow: hidden auto; }