File tree Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -547,7 +547,6 @@ 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'
551550 this . controls = this . theme . getButtonHolder ( )
552551 this . controls . style . margin = '0 0 0 10px'
553552
Original file line number Diff line number Diff line change @@ -127,6 +127,8 @@ export class AbstractTheme {
127127 el . appendChild ( text )
128128 }
129129
130+ el . style . display = 'inline-block'
131+
130132 return el
131133 }
132134
Original file line number Diff line number Diff line change @@ -126,6 +126,10 @@ export class bootstrap4Theme extends AbstractTheme {
126126 }
127127 }
128128
129+ const unique = label . innerText
130+ label . setAttribute ( 'for' , unique )
131+ input . setAttribute ( 'id' , unique )
132+
129133 check . appendChild ( input )
130134 check . appendChild ( label )
131135 if ( infoText ) check . appendChild ( infoText )
@@ -328,6 +332,8 @@ export class bootstrap4Theme extends AbstractTheme {
328332 el . appendChild ( text )
329333 }
330334
335+ el . style . display = 'inline-block'
336+
331337 /* cardHeader.appendChild(el) */
332338
333339 return el
Original file line number Diff line number Diff line change @@ -106,6 +106,8 @@ export class spectreTheme extends AbstractTheme {
106106 el . appendChild ( text )
107107 }
108108
109+ el . style . display = 'inline-block'
110+
109111 return el
110112 }
111113
You can’t perform that action at this time.
0 commit comments