From 65211521841f6ba6730ec2ef4eb0ead8910cf063 Mon Sep 17 00:00:00 2001 From: Cristhian Zanforlin Lousa Date: Mon, 18 Sep 2023 14:23:20 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(dialog.tsx):=20remove=20unne?= =?UTF-8?q?cessary=20CSS=20classes=20'noundo'=20and=20'nocopy'=20from=20Di?= =?UTF-8?q?alogOverlay=20component=20to=20improve=20code=20readability=20a?= =?UTF-8?q?nd=20maintainability?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🐛 fix(index.tsx): remove unnecessary CSS classes 'nopan', 'nodrag', 'noundo', and 'nocopy' from CodeMirror component to improve code readability and maintainability --- src/frontend/src/components/ui/dialog.tsx | 2 +- src/frontend/src/modals/codeAreaModal/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/components/ui/dialog.tsx b/src/frontend/src/components/ui/dialog.tsx index fae079856..a6d3d58e9 100644 --- a/src/frontend/src/components/ui/dialog.tsx +++ b/src/frontend/src/components/ui/dialog.tsx @@ -27,7 +27,7 @@ const DialogOverlay = React.forwardRef< { setCode(value); }} - className="nopan nodrag noundo nocopy h-full w-full rounded-lg border-[1px] border-gray-300 custom-scroll dark:border-gray-600" + className="h-full w-full rounded-lg border-[1px] border-gray-300 custom-scroll dark:border-gray-600" />