console: minor tweaks + some not ready code for live interpreter

This commit is contained in:
bordun 2020-11-09 14:28:29 +01:00
parent 08147c7657
commit 16b634cb06
2 changed files with 44 additions and 6 deletions

View file

@ -38,8 +38,8 @@ $padding: 8rem;
osc-console {
display: block;
flex: 1;
padding: $padding $padding;
overflow: auto;
padding: $padding;
overflow-y: auto;
background: var(--color-background);
}
@ -47,10 +47,25 @@ osc-console-message {
user-select: text;
cursor: text;
display: block;
white-space: pre;
&.error {
color: var(--color-error);
}
margin-bottom: 4rem;
}
osc-console-input {
display: block;
padding: 4rem;
background: var(--color-ui-background);
height: 30rem;
textarea {
padding: 4rem;
display: block;
background: var(--color-background);
width: 100%;
height: 100%;
resize: none;
}
}