color picker fixes

This commit is contained in:
Andy Miller
2016-04-26 18:49:44 -06:00
parent 689a70a658
commit 1f3d276cb1
4 changed files with 16 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -620,6 +620,19 @@ form {
}
}
.g-colorpicker {
width: 230px;
.g-colorpicker-preview-wrap {
border-color: $form-border;
height: 43px;
width: 43px;
}
input {
height: 43px;
}
}
}
.grav-editor-resizer {

View File

@@ -10,7 +10,7 @@
data-grav-colorpicker="{{ {update: '.g-colorpicker-preview-wrap .g-colorpicker-preview'}|json_encode|e('html_attr') }}"
{# required attribute structures #}
name="{{ (scope ~ field.name)|fieldName }}"
value="{{ value|e('html_attr')|join(', ') }}"
value="{{ value|raw|join(', ') }}"
type="text"
{# input attribute structures #}
{% block input_attributes %}