diff --git a/web/src/pages/vm.scss b/web/src/pages/vm.scss index 51f7013e1..a05983762 100644 --- a/web/src/pages/vm.scss +++ b/web/src/pages/vm.scss @@ -1,24 +1,33 @@ @use "./page.scss"; .VmPage { - grid-template-columns: 4fr auto 5fr !important; - grid-template-rows: 3fr 2fr !important; + grid-template-columns: 4fr auto auto 5fr !important; + grid-template-rows: auto 1fr 2fr !important; grid-template-areas: - "program display test" - "stack display test"; + "program display display test" + "program stack RAM test" + "vm stack RAM test"; .program { grid-area: program; } - .stack { - grid-area: stack; + .vm { + grid-area: vm; } .display { grid-area: display; } + .memory.Stack { + grid-area: stack; + } + + .memory.RAM { + grid-area: RAM; + } + ._test_panel { grid-area: test; } diff --git a/web/src/pages/vm.tsx b/web/src/pages/vm.tsx index 336672421..24307beb1 100644 --- a/web/src/pages/vm.tsx +++ b/web/src/pages/vm.tsx @@ -244,7 +244,7 @@ const VM = () => { error={state.controls.error} /> - VM Structures}> + VM Structures}> {state.controls.valid && state.vm.Stack.length > 0 && ( <> { - -
- - { - stackRef.current?.rerender(); - }} - /> -
+ + { + stackRef.current?.rerender(); + }} + /> + {runnersAssigned && (