Skip to content

Commit b23f2ef

Browse files
committed
Fixed the form profiler when using long form types
1 parent 617bf78 commit b23f2ef

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy