提交 aa740f7f 编写于 作者: C codecalm

selectize fix #525

上级 4ea8291d
......@@ -7,7 +7,7 @@
{% if options == 'people' %}
{% for person in site.data.people limit: 20 %}
{% capture avatar %}
{% include ui/avatar.html person=person class="avatar-xs rounded mr-2 ml-n1" %}
{% include ui/avatar.html person=person class="avatar-sm rounded mr-2 ml-n1" %}
{% endcapture %}
<option value="{{ person.id }}" data-data='{"avatar": "{{ avatar | strip | replace: '"', '\"' }}"}'{% if person.id == data.value %} selected{% endif %}>{{ person.full_name }}</option>
{% endfor %}
......
......@@ -56,7 +56,7 @@
font-size: $input-font-size;
box-shadow: none;
line-height: $input-line-height;
background-color: inherit;
background-color: inherit !important;
color: inherit !important;
&.full {
......@@ -68,7 +68,7 @@
}
.selectize-control.single & {
background: $form-select-bg escape-svg($form-select-indicator) no-repeat $form-select-bg-position/$form-select-bg-size;
background: escape-svg($form-select-indicator) no-repeat $form-select-bg-position/$form-select-bg-size;
}
&.focus {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册