Fixed the form profiler when using long form types

This commit is contained in:
Javier Eguiluz 2016-01-18 15:59:33 +01:00
parent 617bf78b17
commit b23f2ef9af

View File

@ -97,10 +97,6 @@
/* provide a bigger clickable area than just 10x10px */ /* provide a bigger clickable area than just 10x10px */
width: 16px; width: 16px;
height: 16px; height: 16px;
/* vertically center the button */
position: absolute;
top: 50%;
margin-top: -8px;
margin-left: -18px; margin-left: -18px;
} }
.tree .toggle-icon { .tree .toggle-icon {
@ -110,7 +106,7 @@
margin-left: 3px; margin-left: 3px;
margin-top: 3px; margin-top: 3px;
background-size: 10px 20px; background-size: 10px 20px;
background-color: #ccc; background-color: #AAA;
} }
.tree .toggle-icon.empty { .tree .toggle-icon.empty {
width: 10px; width: 10px;
@ -437,7 +433,7 @@
<div class="toggle-icon empty"></div> <div class="toggle-icon empty"></div>
{% endif %} {% endif %}
{{ name|default('(no name)') }} {% if data.type_class is defined and data.type is defined %}[<abbr title="{{ data.type_class }}">{{ data.type }}</abbr>]{% endif %} {{ name|default('(no name)') }} {% if data.type_class is defined and data.type is defined %}[<abbr title="{{ data.type_class }}">{{ data.type|split('\\')|last }}</abbr>]{% endif %}
{% if data.errors is defined and data.errors|length > 0 %} {% if data.errors is defined and data.errors|length > 0 %}
<div class="badge-error">{{ data.errors|length }}</div> <div class="badge-error">{{ data.errors|length }}</div>