fix(client): console height in multi-file editor (#49372)

fix: allow console to take up entire height of panel
This commit is contained in:
Bruce Blaser
2023-02-16 03:22:57 -08:00
committed by GitHub
parent cd58053ced
commit cb0da3bbf9

View File

@@ -250,7 +250,10 @@ const DesktopLayout = (props: DesktopLayoutProps): JSX.Element => {
<ReflexSplitter propagate={true} {...resizeProps} />
)}
{displayPreviewConsole && (
<ReflexElement flex={testsPane.flex} {...resizeProps}>
<ReflexElement
{...(displayPreviewPane && { flex: testsPane.flex })}
{...resizeProps}
>
{testOutput}
</ReflexElement>
)}