File tree 4 files changed +10
-1
lines changed
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 {
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'
551
550
this . controls = this . theme . getButtonHolder ( )
552
551
this . controls . style . margin = '0 0 0 10px'
553
552
Original file line number Diff line number Diff line change @@ -127,6 +127,8 @@ export class AbstractTheme {
127
127
el . appendChild ( text )
128
128
}
129
129
130
+ el . style . display = 'inline-block'
131
+
130
132
return el
131
133
}
132
134
Original file line number Diff line number Diff line change @@ -126,6 +126,10 @@ export class bootstrap4Theme extends AbstractTheme {
126
126
}
127
127
}
128
128
129
+ const unique = label . innerText
130
+ label . setAttribute ( 'for' , unique )
131
+ input . setAttribute ( 'id' , unique )
132
+
129
133
check . appendChild ( input )
130
134
check . appendChild ( label )
131
135
if ( infoText ) check . appendChild ( infoText )
@@ -328,6 +332,8 @@ export class bootstrap4Theme extends AbstractTheme {
328
332
el . appendChild ( text )
329
333
}
330
334
335
+ el . style . display = 'inline-block'
336
+
331
337
/* cardHeader.appendChild(el) */
332
338
333
339
return el
Original file line number Diff line number Diff line change @@ -106,6 +106,8 @@ export class spectreTheme extends AbstractTheme {
106
106
el . appendChild ( text )
107
107
}
108
108
109
+ el . style . display = 'inline-block'
110
+
109
111
return el
110
112
}
111
113
You can’t perform that action at this time.
0 commit comments