8000 bug #17417 Fixed the form profiler when using long form types (javier… · symfony/symfony@b51c240 · GitHub
[go: up one dir, main page]

Skip to content

Commit b51c240

Browse files
committed
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
2 parents 325c022 + b23f2ef commit b51c240

File tree

1 file changed

+2
-6
lines changed
  • src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector

1 file changed

+2
-6
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/form.html.twig

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,6 @@
9797
/* provide a bigger clickable area than just 10x10px */
9898
width: 16px;
9999
height: 16px;
100-
/* vertically center the button */
101-
position: absolute;
102-
top: 50%;
103-
margin-top: -8px;
104100
margin-left: -18px;
105101
}
106102
.tree .toggle-icon {
@@ -110,7 +106,7 @@
110106
margin-left: 3px;
111107
margin-top: 3px;
112108
background-size: 10px 20px;
113-
background-color: #ccc;
109+
background-color: #AAA;
114110
}
115111
.tree .toggle-icon.empty {
116112
width: 10px;
@@ -437,7 +433,7 @@
437433
<div class="toggle-icon empty"></div>
438434
{% endif %}
439435

440-
{{ name|default('(no name)') }} {% if data.type_class is defined and data.type is defined %}[<abbr title="{{ data.type_class }}">{{ data.type }}</abbr>]{% endif %}
436+
{{ 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 %}
441437

442438
{% if data.errors is defined and data.errors|length > 0 %}
443439
<div class="badge-error">{{ data.errors|length }}</div>

0 commit comments

Comments
 (0)
0