Skip to content

Commit 257aa31

Browse files
committed
quick install in editor
1 parent 4d9c8c3 commit 257aa31

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

app/templates/components/workspace.html

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
<div class="workspace-container" style="display: none;">
55
<div class="workspace-inner">
6-
<!-- Tabs and auto-share container -->
7-
<div class="flex justify-between items-end mb-0">
6+
<!-- Tabs container -->
7+
<div class="flex justify-start items-end mb-0">
88
<!-- Tabs floating above container -->
99
<div class="agent-tabs translate-x-1 translate-y-1">
1010
<button id="tab-claude" class="tab-button active px-4 py-2 bg-cyan-400 border-2 border-black border-b-0 text-black font-bold shadow-[2px_0px_0px_0px_rgba(0,0,0,1)] hover:shadow-[4px_0px_0px_0px_rgba(0,0,0,1)] hover:translate-x-[-1px] hover:translate-y-[-1px] active:shadow-[1px_0px_0px_0px_rgba(0,0,0,1)] active:translate-x-[1px] active:translate-y-[1px] transition-all text-sm relative z-10">
@@ -14,15 +14,6 @@
1414
Cursor/others.. (coming soon)
1515
</button>
1616
</div>
17-
18-
<!-- Auto-share panel -->
19-
<div id="auto-share-panel" class="flex gap-2 items-center mb-1 mr-2">
20-
<label class="text-sm font-bold text-black">Install in one click</label>
21-
<input id="share-link-input" type="text" readonly class="px-3 py-1 bg-white border-2 border-black text-black font-mono text-xs shadow-[2px_2px_0px_0px_rgba(0,0,0,1)] focus:outline-none" style="width: 320px; cursor: text;" value="Waiting for first save...">
22-
<button id="copy-share-link" class="px-3 py-1 bg-cyan-400 border-2 border-black text-black font-bold shadow-[2px_2px_0px_0px_rgba(0,0,0,1)] hover:shadow-[3px_3px_0px_0px_rgba(0,0,0,1)] hover:translate-x-[-1px] hover:translate-y-[-1px] active:shadow-[1px_1px_0px_0px_rgba(0,0,0,1)] active:translate-x-[1px] active:translate-y-[1px] transition-all text-sm disabled:opacity-50 disabled:cursor-not-allowed" disabled>
23-
Copy
24-
</button>
25-
</div>
2617
</div>
2718

2819
<!-- Editor Container -->

app/templates/components/workspace_editor.html

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,20 @@ <h3 class="text-lg font-black text-black">Context editor</h3>
1919
</div>
2020
</div>
2121

22-
<div class="relative flex-1">
22+
<div class="relative flex-1 mb-3">
2323
<div class="w-full h-full bg-gray-900 translate-y-1 translate-x-1 absolute inset-0 z-0"></div>
2424
<div id="workspace-monaco-editor"
2525
class="relative z-10 border-2 border-black bg-white h-full"
26-
style="min-height: 400px;"></div>
26+
style="min-height: 350px;"></div>
27+
</div>
28+
29+
<!-- Install in one click bar -->
30+
<div id="auto-share-panel" class="flex gap-2 items-center justify-center py-2 border-t-2 border-gray-200">
31+
<label class="text-sm font-bold text-black">Install in one click</label>
32+
<input id="share-link-input" type="text" readonly class="px-3 py-1 bg-white border-2 border-black text-black font-mono text-xs shadow-[2px_2px_0px_0px_rgba(0,0,0,1)] focus:outline-none" style="width: 320px; cursor: text;" value="Waiting for first save...">
33+
<button id="copy-share-link" class="px-3 py-1 bg-cyan-400 border-2 border-black text-black font-bold shadow-[2px_2px_0px_0px_rgba(0,0,0,1)] hover:shadow-[3px_3px_0px_0px_rgba(0,0,0,1)] hover:translate-x-[-1px] hover:translate-y-[-1px] active:shadow-[1px_1px_0px_0px_rgba(0,0,0,1)] active:translate-x-[1px] active:translate-y-[1px] transition-all text-sm disabled:opacity-50 disabled:cursor-not-allowed" disabled>
34+
Copy
35+
</button>
2736
</div>
2837
</div>
2938
</div>

0 commit comments

Comments
 (0)