From 67bc2204215a7c11a915dd9beb6fdf8a80784ec1 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Wed, 19 Oct 2022 18:51:12 +0100 Subject: [PATCH] fix dubugging navigation buttons --- .../lib/button-navigator/button-navigator.css | 2 ++ .../lib/button-navigator/button-navigator.tsx | 33 ++++++++++--------- 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.css b/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.css index 835b54615b..43a03bd433 100644 --- a/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.css +++ b/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.css @@ -6,6 +6,7 @@ width: 100%; display: flex; justify-content: center; + align-items: center; } .stepButton { } @@ -13,6 +14,7 @@ width: 100%; display: flex; justify-content: center; + align-items: center; } .jumpButton { } diff --git a/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.tsx b/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.tsx index d2cc277411..47d177602f 100644 --- a/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.tsx +++ b/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.tsx @@ -62,8 +62,10 @@ export const ButtonNavigation = ({ stepOverBack, stepIntoBack, stepIntoForward, } > -
{ stepOverBack && stepOverBack() }}> -
@@ -76,8 +78,8 @@ export const ButtonNavigation = ({ stepOverBack, stepIntoBack, stepIntoForward, } > -
{ stepIntoBack && stepIntoBack() }} data-id="buttonNavigatorIntoBack" id="buttonNavigatorIntoBackContainer"> -
@@ -86,12 +88,12 @@ export const ButtonNavigation = ({ stepOverBack, stepIntoBack, stepIntoForward, placement="top-start" overlay={ - Step into + Step over forward } > -
{ stepIntoForward && stepIntoForward() }} data-id="buttonNavigatorIntoForward" id="buttonNavigatorIntoFowardContainer"> -
@@ -123,8 +125,8 @@ export const ButtonNavigation = ({ stepOverBack, stepIntoBack, stepIntoForward, } > -
{ jumpPreviousBreakpoint && jumpPreviousBreakpoint() }} data-id="buttonNavigatorJumpPreviousBreakpoint"> -
@@ -137,8 +139,9 @@ export const ButtonNavigation = ({ stepOverBack, stepIntoBack, stepIntoForward, } > -
{ jumpOut && jumpOut() }} data-id="buttonNavigatorJumpOut" id="buttonNavigatorJumpOutContainer"> -
@@ -151,8 +154,8 @@ export const ButtonNavigation = ({ stepOverBack, stepIntoBack, stepIntoForward, } > -
{ jumpNextBreakpoint && jumpNextBreakpoint() }} data-id="buttonNavigatorJumpNextBreakpoint" id="buttonNavigatorJumpNextBreakpointContainer"> -