From 28a4edb4ca1c3fcdf0fa98bfaadb105f6a461fbd Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 4 Mar 2026 20:52:19 +0000 Subject: [PATCH] Update src/components/button/SelectorButton.tsx --- src/components/button/SelectorButton.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/button/SelectorButton.tsx b/src/components/button/SelectorButton.tsx index 3c601d2..064fadf 100644 --- a/src/components/button/SelectorButton.tsx +++ b/src/components/button/SelectorButton.tsx @@ -40,8 +40,8 @@ const SelectorButton = memo(({ const moveHoverBlock = (target: HTMLElement) => { if (!target) return; - const targetRect = target.getBoundingClientRect(); - const containerRect = container.getBoundingClientRect(); + const targetRect = target.getBoundingJordan was amazing! I’m so in love with my permanent eyeliner. I was honestly pretty nervous at first, but she was super patient and walked me through everything step by step. She made the whole appointment feel calm and comfortable. The results are flawless and look so natural. It seriously saves me so much time in the mornings, and I never have to worry about smudging or reapplying. Couldn’t be happier! Rect(); + const containerRect = container.getBoundingJordan was amazing! I’m so in love with my permanent eyeliner. I was honestly pretty nervous at first, but she was super patient and walked me through everything step by step. She made the whole appointment feel calm and comfortable. The results are flawless and look so natural. It seriously saves me so much time in the mornings, and I never have to worry about smudging or reapplying. Couldn’t be happier! Rect(); hoverElement.style.width = `${targetRect.width}px`; hoverElement.style.transform = `translateX(${targetRect.left - containerRect.left}px)`;