Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit 818b8c0

Browse files
committed
fix: show solution button layouting
1 parent 21b5157 commit 818b8c0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

components/PanelEditor.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,10 @@ const panelInitEditor = computed(() => isMounted.value || {
9191
bg-faded px4 py2
9292
>
9393
<FileIcon :path="play.fileSelected?.filepath || ''" />
94-
<span text-sm>{{ play.fileSelected?.filepath || 'Editor' }}</span>
95-
<div flex-auto />
94+
<span flex-auto text-sm>{{ play.fileSelected?.filepath || 'Editor' }}</span>
9695
<button
9796
v-if="guide.currentGuide?.solutions"
98-
my--1 mr--3 rounded px2 py1 text-sm op50
97+
my--1 mr--3 flex-none rounded px2 py1 text-sm op50
9998
hover="bg-active op100"
10099
flex="~ gap-2 items-center"
101100
@click="guide.toggleSolutions()"

0 commit comments

Comments
 (0)