Skip to content

Commit ed4ed4d

Browse files
Error pre style
1 parent e3b6933 commit ed4ed4d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

runestone/activecode/js/activecode_brython.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ def my_exec(code):
8989
error_header.style.font = "24px 'Arial'"
9090
preElem.prepend(error_header)
9191
preElem.style.visibility = "visible"
92+
preElem.style.top = "5px"
93+
preElem.style.backgroundColor = "#f2dede"
94+
preElem.style.border = "1px solid #ebccd1"
9295
logger.classList.add("python")
9396
9497
document <= preElem

0 commit comments

Comments
 (0)