From 856586340f730a39de46180c48ef24fe0f26c3ca Mon Sep 17 00:00:00 2001 From: mluena Date: Mon, 8 Apr 2024 18:26:14 +0200 Subject: [PATCH] map btn control hover fix --- src/components/map/controls/zoom/component.tsx | 9 ++------- src/containers/map/index.tsx | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/components/map/controls/zoom/component.tsx b/src/components/map/controls/zoom/component.tsx index 707f08235..bccd9b75d 100644 --- a/src/components/map/controls/zoom/component.tsx +++ b/src/components/map/controls/zoom/component.tsx @@ -10,7 +10,7 @@ import ZOOM_IN_SVG from 'svgs/map/zoom-in.svg?sprite'; import ZOOM_OUT_SVG from 'svgs/map/zoom-out.svg?sprite'; const COMMON_CLASSES = - 'group w-full w-12 px-4 hover:bg-gray-100 active:outline active:outline-2 active:-outline-offset-[5px] active:outline-brand-400/40 disabled:bg-gray-50 disabled:outline-none'; + 'bg-white group w-full w-12 p-4 hover:bg-gray-100 active:outline active:outline-2 active:-outline-offset-[5px] active:outline-brand-400/40 disabled:bg-gray-50 disabled:outline-none hover:gray-100'; const SVG_COMMON_CLASSES = 'h-4 w-4 group-disabled:fill-grey-75'; @@ -41,12 +41,7 @@ export const ZoomControl = ({ className, mapId }: { className?: string; mapId: s ); return ( -
+