Skip to content

Commit

Permalink
fix stack scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryex committed Mar 30, 2024
1 parent d9a8a9f commit d76610f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
1 change: 0 additions & 1 deletion www/src/js/virtual_machine/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ class VMRegistersUI {
cell.appendChild(input);
const aliasesLabel = document.createElement("span");
aliasesLabel.classList.add("input-group-text", "reg_label")
aliasesLabel.innerText = "\xa0";
cell.appendChild(aliasesLabel);
this.regCels.push({
cell,
Expand Down
17 changes: 11 additions & 6 deletions www/src/scss/dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -307,11 +307,11 @@ code {
color: #fff;
}


.navbar-text {
padding: 0;
padding-right: 10px;
position: relative;
color: #fff;
}

.navbar-nav>li>a {
Expand Down Expand Up @@ -405,7 +405,7 @@ code {
overflow-y: auto;
max-width: 180rem;
max-height: 20rem;
align-content: flex-end
font-size: 14;
}

// .vm_unset_reg .input-group {
Expand All @@ -420,20 +420,26 @@ code {
.vm_reg_cel span {
min-width: 2.5rem;
height: 22px;
font-size: 0.875rem;
}

.vm_reg_cel span.reg_label {
width: 6rem;
height: 22px;
overflow-x: auto;
overflow-y: auto;
padding-left: 0.125rem;
padding-top: 0;
padding-bottom: 0;
padding-right: 0.25rem;
font-size: 0.75rem;
}

.vm_reg_cel input {
max-width: 8rem;
min-width: 3rem;
background-color: var(--bs-body-bg);
height: 22px;
font-size: 0.875rem;
}

#vmActiveIC {
Expand All @@ -452,8 +458,7 @@ code {
overflow-x: auto;
overflow-y: auto;
max-width: 180rem;
max-height: 10rem;
align-content: flex-end
height: 10rem;
}

.vm_stack_cel {
Expand All @@ -462,7 +467,7 @@ code {
}

.vm_stack_cel span {
min-width: 2.5rem;
width: 2.5rem;
height: 22px;
}

Expand Down

0 comments on commit d76610f

Please sign in to comment.