From 7d3185053a65c3884adb7b030c8cab222e9eb4bb Mon Sep 17 00:00:00 2001 From: edis Date: Wed, 24 Apr 2024 11:21:00 +0200 Subject: [PATCH] chore: add hover and refactor metod dropdown layout --- .../MethodDropdownMenu/MethodDropdownButton.tsx | 16 ++++++---------- .../src/components/MethodDropdownMenu/index.tsx | 6 +++--- .../src/components/NetworkDropDownMenu/index.tsx | 6 +++--- 3 files changed, 12 insertions(+), 16 deletions(-) diff --git a/packages/dapp/src/components/MethodDropdownMenu/MethodDropdownButton.tsx b/packages/dapp/src/components/MethodDropdownMenu/MethodDropdownButton.tsx index ec2eff1e7..22c0f0ef4 100644 --- a/packages/dapp/src/components/MethodDropdownMenu/MethodDropdownButton.tsx +++ b/packages/dapp/src/components/MethodDropdownMenu/MethodDropdownButton.tsx @@ -64,7 +64,7 @@ export function DropdownButton({ diff --git a/packages/dapp/src/components/MethodDropdownMenu/index.tsx b/packages/dapp/src/components/MethodDropdownMenu/index.tsx index 3e57578e3..658da8885 100644 --- a/packages/dapp/src/components/MethodDropdownMenu/index.tsx +++ b/packages/dapp/src/components/MethodDropdownMenu/index.tsx @@ -107,10 +107,10 @@ export default function MethodDropdownMenu() { setOpen(!open)}> @@ -126,7 +126,7 @@ export default function MethodDropdownMenu() { {currMethod && ( diff --git a/packages/dapp/src/components/NetworkDropDownMenu/index.tsx b/packages/dapp/src/components/NetworkDropDownMenu/index.tsx index e00619f43..a058db90f 100644 --- a/packages/dapp/src/components/NetworkDropDownMenu/index.tsx +++ b/packages/dapp/src/components/NetworkDropDownMenu/index.tsx @@ -108,7 +108,7 @@ export default function NetworkDropDownMenu({ setOpen(!open)}> -
+
{selected && ( item.name === selected)?.logo ?? ''} @@ -135,7 +135,7 @@ export default function NetworkDropDownMenu({
{selected && (