mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-16 19:01:02 -04:00
fix(client): console height in multi-file editor (#49372)
fix: allow console to take up entire height of panel
This commit is contained in:
@@ -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>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user