mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 08:37:22 +00:00
Fix mobile terminal issues
This commit is contained in:
1 file changed
+2
-2
@@ -750,14 +750,14 @@ export function PreviewPane({ projectId, activeTab, onToggleView, projectName, o
|
|||||||
variant="outline"
|
variant="outline"
|
||||||
size="sm"
|
size="sm"
|
||||||
onClick={() => setMobileCodeView('terminal')}
|
onClick={() => setMobileCodeView('terminal')}
|
||||||
className="absolute bottom-4 right-4 h-12 w-12 p-0 rounded-full shadow-lg bg-background border-2"
|
className="fixed bottom-12 right-4 h-12 w-12 p-0 rounded-full shadow-lg bg-background border-2"
|
||||||
>
|
>
|
||||||
<Terminal className="h-6 w-6" />
|
<Terminal className="h-6 w-6" />
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
) : mobileCodeView === 'terminal' ? (
|
) : mobileCodeView === 'terminal' ? (
|
||||||
<>
|
<>
|
||||||
<div className="px-1 flex items-center gap-2 bg-black text-green-400">
|
<div className="px-1 flex items-center gap-2 bg-black text-purple-400">
|
||||||
<Button
|
<Button
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
size="sm"
|
size="sm"
|
||||||
|
|||||||
Reference in new issue
Block a user