Skip to content

Commit a9f188b

Browse files
committed
CSS fixed, v bump
1 parent b3ae562 commit a9f188b

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

src/lib/styles/main.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,19 @@
55
height: 100dvh !important;
66
max-height: 100dvh !important;
77
padding: 0 !important;
8+
}
9+
10+
/*Actually important*/
11+
:global(#page-content) {
12+
max-height: 100% !important;
13+
overflow-y: hidden !important;
14+
}
15+
16+
:global(.no-scrollbar::-webkit-scrollbar) {
17+
display: none !important;
18+
}
19+
20+
:global(.app-rail) {
21+
-ms-overflow-style: none !important;
22+
scrollbar-width: none !important;
823
}

src/routes/+page.svelte

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,14 @@
313313
onMount(async () => {
314314
document.querySelector('body').setAttribute('data-theme', cfg.APP_THEME);
315315
316-
await waitForEditorInstance();
317-
await checkStorageSupport();
316+
try {
317+
await checkStorageSupport();
318+
} catch(e) {
319+
Log.error(e);
320+
}
318321
322+
await waitForEditorInstance();
323+
319324
// Listen for changes in Monaco editor and update the store
320325
monacoEditor.onDidChangeModelContent(() => {
321326
const content = monacoEditor.getValue();
@@ -551,8 +556,8 @@
551556
</Splitpanes>
552557
{/if}
553558
</div>
554-
<div id="cr-full" class="cr-dynamic" />
555-
<div id="cr-staging">
559+
<div id="cr-full" class="cr-dynamic hidden" />
560+
<div id="cr-staging" class="hidden">
556561
<div id="ct1">
557562
<MonacoEditor editorInstance={monacoEditor} on:init={setEditorInstance} />
558563
</div>

0 commit comments

Comments
 (0)