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 && (