change font style

pull/1344/head
yann300 3 years ago committed by joseph izang
parent 1eafd9b07f
commit 661f2288e9
  1. 4
      libs/remix-ui/debugger-ui/src/lib/vm-debugger/assembly-items.tsx

@ -60,8 +60,8 @@ export const AssemblyItems = ({ registerEvent }) => {
const currentItem = codeView.children[index] const currentItem = codeView.children[index]
if (currentItem) { if (currentItem) {
currentItem.style.setProperty('border-color', 'var(--primary)') currentItem.style.setProperty('background-color', 'var(--primary)')
currentItem.style.setProperty('border-style', 'solid') currentItem.style.setProperty('color', 'var(--light)')
currentItem.setAttribute('selected', 'selected') currentItem.setAttribute('selected', 'selected')
codeView.scrollTop = currentItem.offsetTop - parseInt(codeView.offsetTop) codeView.scrollTop = currentItem.offsetTop - parseInt(codeView.offsetTop)
} }

Loading…
Cancel
Save