File tree 1 file changed +20
-6
lines changed
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector
1 file changed +20
-6
lines changed Original file line number Diff line number Diff line change 70
70
.tree a {
71
71
text-decoration : none ;
72
72
}
73
- .tree .toggle-icon {
74
- width : 10px ;
75
- height : 10px ;
73
+ .tree .toggle-button {
74
+ /* provide a bigger clickable area than just 10x10px */
75
+ width : 16px ;
76
+ height : 16px ;
76
77
/* vertically center the button */
77
78
position : absolute ;
78
79
top : 50% ;
79
- margin-top : -5px ;
80
- margin-left : -15px ;
80
+ margin-top : -8px ;
81
+ margin-left : -18px ;
82
+ }
83
+ .tree .toggle-icon {
84
+ width : 10px ;
85
+ height : 10px ;
86
+ /* position the icon in the center of the clickable area */
87
+ margin-left : 3px ;
88
+ margin-top : 3px ;
81
89
background-size : 10px 20px ;
82
90
background-color : #ccc ;
83
91
}
84
92
.tree .toggle-icon.empty {
93
+ width : 10px ;
94
+ height : 10px ;
95
+ position : absolute ;
96
+ top : 50% ;
97
+ margin-top : -5px ;
98
+ margin-left : -15px ;
85
99
background-size : 10px 10px ;
86
100
}
87
101
.tree ul ul .tree-inner {
332
346
<li >
333
347
<div class =" tree-inner" data-tab-target-id =" {{ data .id }}-details" >
334
348
{% if data .children is not empty %}
335
- <a class =" toggle-button toggle-icon " data-toggle-target-id =" {{ data .id }}-children" href =" #" ></a >
349
+ <a class =" toggle-button" data-toggle-target-id =" {{ data .id }}-children" href =" #" >< span class = " toggle-icon " ></ span ></a >
336
350
{% else %}
337
351
<div class =" toggle-icon empty" ></div >
338
352
{% endif %}
You can’t perform that action at this time.
0 commit comments