pull/5370/head
lianahus 1 year ago
parent 49f0e3a82c
commit df0aff29d9
  1. 28
      libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.css
  2. 6
      libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.tsx

@ -2,24 +2,7 @@
display: flex;
flex-wrap: wrap;
}
.stepButtons {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
}
.stepButtonDisabled {
background-color: #005573;
border-color: #005573;
}
.stepButton:hover {
color: #fff;
background-color: var(--primary);
border-color: #005573;
}
.jumpButtons {
width: 100%;
display: flex;
@ -28,17 +11,6 @@
color: #fff;
}
.jumpButtonDisabled {
background-color: var(--gray);
border-color: #005573;
}
.jumButton:hover {
color: #fff;
background-color: #005573;
border-color: #005573;
}
.cursorPointerRemixDebugger {
cursor: pointer;
}

@ -66,8 +66,6 @@ export const ButtonNavigation = ({
}
const stepBtnStyle = 'd-flex align-items-center justify-content-center btn btn-primary btn-sm stepButton h-75 m-0 p-1'
const disableStepBtnStyle = 'disabled'
const disableJumpBtnStyle = 'disabled'
const stepMarkupStructure = {
stepOverBackJSX: {
markup: (
@ -276,7 +274,7 @@ export const ButtonNavigation = ({
return (
<div className="buttons">
<div className="stepButtons btn-group py-1">
<div className="w-100 btn-group py-1">
{Object.keys(stepMarkupStructure).map((x) => (
<CustomTooltip
placement={stepMarkupStructure[x].placement}
@ -289,7 +287,7 @@ export const ButtonNavigation = ({
))}
</div>
<div className="jumpButtons btn-group py-1">
<div className="w-100 btn-group py-1">
{Object.keys(jumpMarkupStructure).map((x) => (
<CustomTooltip
placement={jumpMarkupStructure[x].placement}

Loading…
Cancel
Save