diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/scripts/edit.js | 5 | ||||
-rw-r--r-- | lib/tpl/default/design.css | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lib/scripts/edit.js b/lib/scripts/edit.js index 215e647b5..acf612217 100644 --- a/lib/scripts/edit.js +++ b/lib/scripts/edit.js @@ -61,7 +61,10 @@ function createPicker(id,props,edid){ // create the wrapping div var picker = document.createElement('div'); - picker.className = 'picker '+props['class']; + picker.className = 'picker'; + if(props['class']){ + picker.className += ' '+props['class']; + } picker.id = id; picker.style.position = 'absolute'; picker.style.display = 'none'; diff --git a/lib/tpl/default/design.css b/lib/tpl/default/design.css index c3591fc67..b7c18baf8 100644 --- a/lib/tpl/default/design.css +++ b/lib/tpl/default/design.css @@ -797,6 +797,10 @@ div.picker { background-color: __background_alt__; } +div.pk_hl { + width: 125px; +} + button.pickerbutton { padding: 0px; margin: 0 1px 1px 0; |