From 5b650a2e1dceae2d0187efe56cd480289ba80a59 Mon Sep 17 00:00:00 2001 From: mohamadreza Date: Sat, 11 Jan 2025 18:49:57 +0330 Subject: [PATCH] feat(dropdown): chnage dropdown styles --- src/components/header/Header.jsx | 2 +- src/components/shared/dropdown/Dropdown.jsx | 2 +- src/components/shared/dropdown/DropdownItem.jsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/header/Header.jsx b/src/components/header/Header.jsx index 1253199..c0d5e11 100644 --- a/src/components/header/Header.jsx +++ b/src/components/header/Header.jsx @@ -54,7 +54,7 @@ const Header = () => { { openFilePicker() }}/> -
+ {/*
*/} { handleSaveFile() }}/> diff --git a/src/components/shared/dropdown/Dropdown.jsx b/src/components/shared/dropdown/Dropdown.jsx index 501e608..5ad5763 100644 --- a/src/components/shared/dropdown/Dropdown.jsx +++ b/src/components/shared/dropdown/Dropdown.jsx @@ -10,7 +10,7 @@ const Dropdown = ({ children, title }) => { setOpen(!open); }} className={"cursor-pointer text-[16px] px-2 py-4 hover:bg-[#ffc2a8] transition duration-200"}>{ title } -
+
{ children }
diff --git a/src/components/shared/dropdown/DropdownItem.jsx b/src/components/shared/dropdown/DropdownItem.jsx index a5123ac..052a692 100644 --- a/src/components/shared/dropdown/DropdownItem.jsx +++ b/src/components/shared/dropdown/DropdownItem.jsx @@ -1,7 +1,7 @@ const DropdownItem = ({ title, callback }) => { return (<> - )