Skip to content

Commit c97e545

Browse files
committed
update demo
1 parent 7ab9d75 commit c97e545

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

explorer-v2/src/lib/MonacoEditor.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
236236
{#await loading}
237237
{#if started}
238-
<pre class="eslint-editor-monaco-root eslint-editor-monaco-root--wait" in:loadingTypewriter />
238+
<div class="eslint-editor-monaco-root eslint-editor-monaco-root--wait" in:loadingTypewriter />
239239
{/if}
240240
{:then _}
241241
<div bind:this={rootElement} class="eslint-editor-monaco-root" />
@@ -255,5 +255,6 @@
255255
font-size: 14px;
256256
line-height: 21px;
257257
padding-left: 52px;
258+
box-sizing: border-box;
258259
}
259260
</style>

0 commit comments

Comments
 (0)