File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
src/components/B4ACodeTree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -175,15 +175,26 @@ export default class B4ACodeTree extends React.Component {
175
175
onClick = { this . deleteFile . bind ( this ) }
176
176
/>
177
177
</ div >
178
- < div className = { styles [ 'files-text' ] } >
178
+ < Resizable className = { styles [ 'files-text' ] }
179
+ defaultSize = { { height : '367px' , width : '100%' } }
180
+ enable = { {
181
+ top :false ,
182
+ right :false ,
183
+ bottom :true ,
184
+ left :false ,
185
+ topRight :false ,
186
+ bottomRight :false ,
187
+ bottomLeft :false ,
188
+ topLeft :false
189
+ } } >
179
190
{
180
191
this . state . isImage ?
181
192
< img src = { this . state . source } /> :
182
193
< B4ACloudCodeView
183
194
source = { this . state . source || "Select a file to view your Cloud Code" }
184
195
extension = { this . state . extension } />
185
196
}
186
- </ div >
197
+ </ Resizable >
187
198
</ div >
188
199
</ div >
189
200
</ div >
You can’t perform that action at this time.
0 commit comments