Skip to content

Commit 4bd87a4

Browse files
committed
Bootstrap 4 colour preview not working jdorn#718
1 parent f77cb2e commit 4bd87a4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/editors/colorpicker.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ import { extend } from '../utilities.js'
1010

1111
export 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) {

0 commit comments

Comments
 (0)