fix: multi editor bottom cut off (#42375)

This commit is contained in:
Sem Bauke
2021-06-08 18:43:21 +02:00
committed by GitHub
parent c69a1cb483
commit a53b235bd8

View File

@ -84,17 +84,13 @@ class DesktopLayout extends Component {
)}
<ReflexElement flex={1} {...resizeProps}>
{challengeFile && showUpcomingChanges && !hasEditableBoundries && (
<EditorTabs />
)}
{challengeFile && (
<ReflexContainer key={challengeFile.key} orientation='horizontal'>
<ReflexElement flex={1} {...reflexProps} {...resizeProps}>
{
<Fragment>
{showUpcomingChanges && !hasEditableBoundries && (
<EditorTabs />
)}
{editor}
</Fragment>
}
{<Fragment>{editor}</Fragment>}
</ReflexElement>
{isConsoleDisplayable && (
<ReflexSplitter propagate={true} {...resizeProps} />