error reporting in editor window

This commit is contained in:
2023-08-21 16:35:46 +02:00
parent 5a732dd03c
commit 5cb89a3b32
4 changed files with 21 additions and 4 deletions

View File

@ -215,10 +215,10 @@
-->
<aside class="
flex flex-col items-center w-14
h-screen py-2 overflow-y-auto
h-screen py-2 overflow-y-scroll
border-r rtl:border-l
rtl:border-r-0 bg-neutral-900
dark:border-gray-700"
dark:border-neutral-700 border-none"
>
<nav class="flex flex-col space-y-6">
<a id="local-button" class="pl-2 p-1.5 text-gray-700 focus:outline-nones transition-colors duration-200 rounded-lg dark:text-gray-200 hover:bg-gray-800">
@ -312,8 +312,9 @@
</ul>
<!-- Here comes the editor itself -->
<div id="editor" class="invisible relative flex flex-row flex-grow overflow-hidden overflow-y-hidden z-10">
<div id="editor" class="invisible relative flex flex-row h-screen overflow-y-scroll">
</div>
<p id="error_line" class="hidden text-red-400 w-screen bg-neutral-900 font-mono absolute bottom-0 pl-2 py-2">Hello kids</p>
</div>
</div>
<script type="module" src="/src/main.ts"></script>