splitter between editors and preview hidden if preview is null (#182)
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
8de3a4c766
commit
10b3b747d6
@ -228,7 +228,8 @@ class ShowClassic extends PureComponent {
|
|||||||
<ReflexElement flex={1} {...this.resizeProps}>
|
<ReflexElement flex={1} {...this.resizeProps}>
|
||||||
{editors}
|
{editors}
|
||||||
</ReflexElement>
|
</ReflexElement>
|
||||||
<ReflexSplitter propagate={true} {...this.resizeProps} />
|
{showPreview &&
|
||||||
|
<ReflexSplitter propagate={true} {...this.resizeProps} />}
|
||||||
{showPreview ? (
|
{showPreview ? (
|
||||||
<ReflexElement flex={0.7} {...this.resizeProps}>
|
<ReflexElement flex={0.7} {...this.resizeProps}>
|
||||||
<Preview
|
<Preview
|
||||||
|
Reference in New Issue
Block a user