Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: tweak code editor skeleton
Browse files Browse the repository at this point in the history
Renovamen committed Jul 5, 2024
1 parent ab8f270 commit 4854294
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion site/src/pages/editor/[id].vue
Original file line number Diff line number Diff line change
@@ -24,7 +24,10 @@
<SplitterGroup id="splitter-editor" direction="horizontal" class="px-3">
<SplitterPanel id="code-pane">
<EditorCode v-if="data.loaded" />
<UiSkeleton v-else class="size-full bg-secondary" />
<div v-else class="flex flex-col gap-y-2 h-full">
<UiSkeleton class="h-10 bg-secondary" />
<UiSkeleton class="flex-1 bg-secondary" />
</div>
</SplitterPanel>

<SplitterResizeHandle

0 comments on commit 4854294

Please sign in to comment.