From 10932b28857a8fe98c03f696b8dc165e7863c1b9 Mon Sep 17 00:00:00 2001 From: belopash Date: Thu, 24 Oct 2024 20:02:03 +0500 Subject: [PATCH] feat: place lock at the top-right corner --- src/pages/WorkersPage/WorkerUndelegate.tsx | 6 +++--- src/pages/WorkersPage/WorkerWithdraw.tsx | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pages/WorkersPage/WorkerUndelegate.tsx b/src/pages/WorkersPage/WorkerUndelegate.tsx index 3166dac..08b33fc 100644 --- a/src/pages/WorkersPage/WorkerUndelegate.tsx +++ b/src/pages/WorkersPage/WorkerUndelegate.tsx @@ -88,9 +88,9 @@ export function WorkerUndelegate({ sx={{ color: '#3e4a5c', position: 'absolute', - top: '50%', - left: '50%', - transform: 'translate(-50%, -50%)', + top: '0px', + right: '0px', + transform: 'translate(0%, -25%)', zIndex: 1, }} /> diff --git a/src/pages/WorkersPage/WorkerWithdraw.tsx b/src/pages/WorkersPage/WorkerWithdraw.tsx index 279035e..145052b 100644 --- a/src/pages/WorkersPage/WorkerWithdraw.tsx +++ b/src/pages/WorkersPage/WorkerWithdraw.tsx @@ -50,9 +50,9 @@ export function WorkerWithdrawButton({ sx={{ color: '#3e4a5c', position: 'absolute', - top: '50%', - left: '50%', - transform: 'translate(-50%, -50%)', + top: '0px', + right: '0px', + transform: 'translate(0%, -25%)', zIndex: 1, }} />