From bf78a5415145d3377ad619f7e7012fb1f3fc4cfc Mon Sep 17 00:00:00 2001 From: jaipaljadeja Date: Mon, 15 Apr 2024 13:28:48 +0530 Subject: [PATCH] chore: style and mobile ui improvements --- components/Editor/EditorControls.tsx | 4 ++-- components/Editor/EditorFooter.tsx | 2 +- components/Editor/index.tsx | 14 ++++++++------ components/KBar/Button.tsx | 2 +- components/ThemeSelector.tsx | 2 +- components/ToggleFullScreen.tsx | 1 + components/ToggleThreeColumnLayout.tsx | 1 + components/Tracer/index.tsx | 2 +- components/layouts/Nav.tsx | 2 +- 9 files changed, 17 insertions(+), 13 deletions(-) diff --git a/components/Editor/EditorControls.tsx b/components/Editor/EditorControls.tsx index 8d15b9b..17c013b 100644 --- a/components/Editor/EditorControls.tsx +++ b/components/Editor/EditorControls.tsx @@ -107,11 +107,11 @@ const EditorControls = ({ readOnly={isCompileDisabled} value={programArguments} placeholder={`Program arguments`} - className={cn('max-w-64 border bg-gray-200 dark:bg-gray-800 ', { + className={cn('max-w-64 border bg-gray-200 dark:bg-gray-800', { 'dark:border-gray-800 border-gray-200': areProgramArgumentsValid, 'border-red-500': !areProgramArgumentsValid, })} - inputClassName={cn({ + inputClassName={cn('text-xs md:text-sm', { 'text-red-500': !areProgramArgumentsValid, })} /> diff --git a/components/Editor/EditorFooter.tsx b/components/Editor/EditorFooter.tsx index 39bdd32..0c78c94 100644 --- a/components/Editor/EditorFooter.tsx +++ b/components/Editor/EditorFooter.tsx @@ -14,7 +14,7 @@ function EditorFooter() { return (
diff --git a/components/Editor/index.tsx b/components/Editor/index.tsx index 64b8353..fa29e95 100644 --- a/components/Editor/index.tsx +++ b/components/Editor/index.tsx @@ -333,14 +333,16 @@ const Editor = ({ readOnly = false }: Props) => { )} >
@@ -426,7 +428,7 @@ const Editor = ({ readOnly = false }: Props) => {
diff --git a/components/KBar/Button.tsx b/components/KBar/Button.tsx index e41ea3e..869c559 100644 --- a/components/KBar/Button.tsx +++ b/components/KBar/Button.tsx @@ -23,7 +23,7 @@ const KBarButton = () => {