File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 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'
1010
1111export class ColorEditor extends StringEditor {
1212 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'
1417 }
1518
1619 setValue ( value , initial , fromTemplate ) {
Original file line number Diff line number Diff line change @@ -547,11 +547,12 @@ export class ObjectEditor extends AbstractEditor {
547547 this . header . textContent = this . getTitle ( )
548548 }
549549 this . title = this . theme . getHeader ( this . header )
550+ this . title . style . display = 'inline-block'
550551 this . controls = this . theme . getButtonHolder ( )
551552 this . controls . style . margin = '0 0 0 10px'
552553
553554 this . container . appendChild ( this . title )
554- this . title . appendChild ( this . controls )
555+ this . container . appendChild ( this . controls )
555556 this . container . style . position = 'relative'
556557
557558 /* Edit JSON modal */
You can’t perform that action at this time.
0 commit comments