From 3e2f3046a9ce95fe0611c9a9f59f2e6473f2ac79 Mon Sep 17 00:00:00 2001 From: Cristhian Zanforlin Lousa Date: Mon, 18 Sep 2023 13:51:01 -0300 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=A7=20chore(codeAreaModal/index.ts?= =?UTF-8?q?x):=20add=20additional=20class=20names=20to=20CodeMirror=20comp?= =?UTF-8?q?onent=20for=20better=20control=20and=20customization?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/src/modals/codeAreaModal/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/modals/codeAreaModal/index.tsx b/src/frontend/src/modals/codeAreaModal/index.tsx index 835e493cb..6fb06fe39 100644 --- a/src/frontend/src/modals/codeAreaModal/index.tsx +++ b/src/frontend/src/modals/codeAreaModal/index.tsx @@ -159,7 +159,7 @@ export default function CodeAreaModal({ onChange={(value) => { setCode(value); }} - className="h-full w-full rounded-lg border-[1px] border-gray-300 custom-scroll dark:border-gray-600" + className="nopan nodrag noundo nocopy h-full w-full rounded-lg border-[1px] border-gray-300 custom-scroll dark:border-gray-600" />
Date: Mon, 18 Sep 2023 14:26:27 -0300 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=A7=20fix(dialog.tsx):=20remove=20?= =?UTF-8?q?unnecessary=20CSS=20classes=20'noundo'=20and=20'nocopy'=20to=20?= =?UTF-8?q?simplify=20the=20code=20and=20improve=20maintainability?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🔧 fix(codeAreaModal/index.tsx): remove unnecessary CSS classes 'nopan', 'nodrag', 'noundo', and 'nocopy' to simplify the code and improve 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" />