File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,10 @@ import { extend } from '../utilities.js'
10
10
11
11
export class ColorEditor extends StringEditor {
12
12
postBuild ( ) {
13
- if ( window . Picker ) this . input . type = 'text'
13
+ if ( window . Picker ) {
14
+ this . input . type = 'text'
15
+ }
16
+ this . input . style . padding = '3px'
14
17
}
15
18
16
19
setValue ( value , initial , fromTemplate ) {
Original file line number Diff line number Diff line change @@ -547,11 +547,12 @@ export class ObjectEditor extends AbstractEditor {
547
547
this . header . textContent = this . getTitle ( )
548
548
}
549
549
this . title = this . theme . getHeader ( this . header )
550
+ this . title . style . display = 'inline-block'
550
551
this . controls = this . theme . getButtonHolder ( )
551
552
this . controls . style . margin = '0 0 0 10px'
552
553
553
554
this . container . appendChild ( this . title )
554
- this . title . appendChild ( this . controls )
555
+ this . container . appendChild ( this . controls )
555
556
this . container . style . position = 'relative'
556
557
557
558
/* Edit JSON modal */
You can’t perform that action at this time.
0 commit comments