diff --git a/app/components/text-editor/editor-menubar.tsx b/app/components/text-editor/editor-menubar.tsx index cf3c540..8e3c31b 100644 --- a/app/components/text-editor/editor-menubar.tsx +++ b/app/components/text-editor/editor-menubar.tsx @@ -110,7 +110,7 @@ export const EditorMenuBar = (properties: TProperties) => { return ( <> -
+
>( disabled={disabled} /> ) : ( -
+
>( editor={editor} id={id ?? generatedId} className={twMerge( - 'prose prose-headings:my-0 prose-p:my-0 max-h-96 max-w-none cursor-text overflow-y-auto rounded-[0_0_5px_5px] border border-[#D2D2D2] p-2', + 'prose prose-headings:my-0 prose-p:my-0 max-h-96 max-w-none cursor-text overflow-y-auto rounded-b-md p-2', inputClassName, )} onClick={() => editor?.commands.focus()} diff --git a/app/components/ui/switch.tsx b/app/components/ui/switch.tsx index c79df4c..da7aaaa 100644 --- a/app/components/ui/switch.tsx +++ b/app/components/ui/switch.tsx @@ -56,7 +56,7 @@ export const Switch = >( control={control} rules={rules} render={({ field }) => ( -
+
{ @@ -64,7 +64,7 @@ export const Switch = >( }} className={twMerge( 'group relative flex h-7 w-14 cursor-pointer rounded-full bg-[#2E2F7C]/10 p-1 shadow transition-colors duration-200 ease-in-out focus:outline-none data-[checked]:bg-[#2E2F7C]/90 data-[focus]:outline-1 data-[focus]:outline-white', - className, + inputClassName, )} > { name="is_premium" label="Premium" labelClassName="text-sm font-medium text-[#363636]" - inputClassName="h-[42px]" + className="h-[42px]" />