Wrap body builder in fancy scrollbars
parent
241b8588fd
commit
4b92b84b58
|
@ -1,6 +1,7 @@
|
|||
import React, {PureComponent} from 'react'
|
||||
import _ from 'lodash'
|
||||
|
||||
import FancyScrollbar from 'src/shared/components/FancyScrollbar'
|
||||
import ExpressionNode from 'src/flux/components/ExpressionNode'
|
||||
import VariableName from 'src/flux/components/VariableName'
|
||||
import FuncSelector from 'src/flux/components/FuncSelector'
|
||||
|
@ -62,6 +63,7 @@ class BodyBuilder extends PureComponent<Props> {
|
|||
})
|
||||
|
||||
return (
|
||||
<FancyScrollbar className="body-builder--container" autoHide={true}>
|
||||
<div className="body-builder">
|
||||
{_.flatten(bodybuilder)}
|
||||
<div className="declaration">
|
||||
|
@ -74,6 +76,7 @@ class BodyBuilder extends PureComponent<Props> {
|
|||
/>
|
||||
</div>
|
||||
</div>
|
||||
</FancyScrollbar>
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue