From cb75a15a6f174ca5843cccf0cd9cbcf7f3306448 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Sun, 23 Nov 2025 13:47:40 +0100 Subject: [PATCH] Update terminal-panel.tsx --- AppImage/components/terminal-panel.tsx | 53 +++++++++++--------------- 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/AppImage/components/terminal-panel.tsx b/AppImage/components/terminal-panel.tsx index ac6ca9b..369d608 100644 --- a/AppImage/components/terminal-panel.tsx +++ b/AppImage/components/terminal-panel.tsx @@ -622,10 +622,7 @@ export const TerminalPanel: React.FC = ({ websocketUrl, onCl -
+
{isMobile ? ( @@ -651,7 +648,6 @@ export const TerminalPanel: React.FC = ({ websocketUrl, onCl
(containerRefs.current[terminal.id] = el)} className="w-full h-full bg-black overflow-hidden" - style={{ height: "calc(100vh - 24rem)" }} /> ))} @@ -659,41 +655,38 @@ export const TerminalPanel: React.FC = ({ websocketUrl, onCl ) : (
{terminals.map((terminal) => ( -
-
+
+
+ {terminal.title} - {terminals.length > 1 && ( - - )}
-
(containerRefs.current[terminal.id] = el)} className="w-full h-full bg-black pt-7" /> +
(containerRefs.current[terminal.id] = el)} + className="flex-1 w-full bg-black overflow-hidden" + /> + {!isMobile && layout === "single" && ( +
+ +
+ )}
))}
)}
- {!isMobile && ( -
- -
- )} - {isMobile && (
{lastKeyPressed && (