mirror of
https://github.com/jlengrand/Maestro.git
synced 2026-03-10 08:31:19 +00:00
fix(main-panel): remote file loading state now fills entire main panel
When loading remote content (e.g., README.md from SSH), the loading indicator now takes over the entire main panel instead of showing alongside the terminal output. This prevents the awkward half-filled appearance.
This commit is contained in:
@@ -1503,7 +1503,8 @@ export const MainPanel = React.memo(
|
||||
)}
|
||||
|
||||
{/* Show File Preview in main area when open, otherwise show terminal output and input */}
|
||||
{previewFile ? (
|
||||
{/* Skip rendering terminal/preview when loading remote file - loading state takes over entire main area */}
|
||||
{filePreviewLoading && !previewFile ? null : previewFile ? (
|
||||
<div
|
||||
ref={filePreviewContainerRef}
|
||||
tabIndex={-1}
|
||||
|
||||
Reference in New Issue
Block a user