From ac8add8c5d801a621270165633eed79199bd3ddd Mon Sep 17 00:00:00 2001 From: daniel31x13 Date: Wed, 6 Nov 2024 22:53:21 -0500 Subject: [PATCH] small improvement --- components/IconPopover.tsx | 184 +++++++++++++++++----------------- public/locales/en/common.json | 2 +- 2 files changed, 94 insertions(+), 92 deletions(-) diff --git a/components/IconPopover.tsx b/components/IconPopover.tsx index 878cc32..6b13d21 100644 --- a/components/IconPopover.tsx +++ b/components/IconPopover.tsx @@ -39,103 +39,105 @@ const IconPopover = ({ onClose={() => onClose()} className={clsx( className, - "fade-in bg-base-200 border border-neutral-content p-2 w-[22.5rem] rounded-lg shadow-md" + "fade-in bg-base-200 border border-neutral-content p-3 w-[22.5rem] rounded-lg shadow-md" )} > -
-
- setQuery(e.target.value)} +
+ setQuery(e.target.value)} + /> + +
+ +
+ +
+ setColor(e)} + className="border border-neutral-content rounded-lg" /> -
- +
+ + + + + +
- -
- setColor(e)} /> - -
- - - - - - -
-
-
-

{t("close_to_apply")}

-
} - > - {t("reset_defaults")} -
+
+
+
} + > + {t("reset_defaults")}
+

{t("click_out_to_apply")}

diff --git a/public/locales/en/common.json b/public/locales/en/common.json index 3334acc..936059d 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -417,5 +417,5 @@ "remove_user": "Remove User", "continue_to_dashboard": "Continue to Dashboard", "confirm_user_removal_desc": "They will need to have a subscription to access Linkwarden again.", - "close_to_apply": "Close to apply" + "click_out_to_apply": "Click outside to apply" } \ No newline at end of file