Skip to content

Commit

Permalink
feat: tweak code editor skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
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
Expand Up @@ -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
Expand Down

0 comments on commit 4854294

Please sign in to comment.