bug #17417 Fixed the form profiler when using long form types (javiereguiluz)
This PR was merged into the 2.8 branch.
Discussion
----------
Fixed the form profiler when using long form types
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #17415
| License | MIT
| Doc PR | -
Commits
-------
b23f2ef
Fixed the form profiler when using long form types
This commit is contained in:
commit
b51c240705
@ -97,10 +97,6 @@
|
||||
/* provide a bigger clickable area than just 10x10px */
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
/* vertically center the button */
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
margin-left: -18px;
|
||||
}
|
||||
.tree .toggle-icon {
|
||||
@ -110,7 +106,7 @@
|
||||
margin-left: 3px;
|
||||
margin-top: 3px;
|
||||
background-size: 10px 20px;
|
||||
background-color: #ccc;
|
||||
background-color: #AAA;
|
||||
}
|
||||
.tree .toggle-icon.empty {
|
||||
width: 10px;
|
||||
@ -437,7 +433,7 @@
|
||||
<div class="toggle-icon empty"></div>
|
||||
{% 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 %}
|
||||
<div class="badge-error">{{ data.errors|length }}</div>
|
||||
|
Reference in New Issue
Block a user