File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -172,12 +172,18 @@ export function TreeBrowser(props: {
172
172
return (
173
173
< div
174
174
style = { {
175
- width : rect . right - rect . left + 40 ,
176
- height : rect . layers * 40 + 40 ,
175
+ background : theme . backgroundColor ,
176
+ width : rect . right - rect . left + 80 ,
177
+ height : rect . layers * 40 + 80 ,
178
+ padding : '40px' ,
177
179
position : 'relative' ,
178
180
} }
179
181
>
180
- < div style = { { transform : 'translateX(' + ( - rect . left + 40 ) + 'px)' } } >
182
+ < div
183
+ style = { {
184
+ transform : 'translateX(' + - rect . left + 'px)' ,
185
+ } }
186
+ >
181
187
< Subtree
182
188
width = { rect . right - rect . left + 'px' }
183
189
tree = { placed }
@@ -197,7 +203,7 @@ export function TreeBrowser(props: {
197
203
textAlign : 'center' ,
198
204
transition : 'none' ,
199
205
} }
200
- border = " 1px solid black"
206
+ border = { ` 1px solid ${ theme . textColor } ` }
201
207
opacity = "1"
202
208
/>
203
209
</ div >
You can’t perform that action at this time.
0 commit comments