File tree Expand file tree Collapse file tree 1 file changed +20
-6
lines changed
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector Expand file tree Collapse file tree 1 file changed +20
-6
lines changed Original file line number Diff line number Diff line change 7070 .tree a {
7171 text-decoration : none ;
7272 }
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 ;
7677 /* vertically center the button */
7778 position : absolute ;
7879 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 ;
8189 background-size : 10px 20px ;
8290 background-color : #ccc ;
8391 }
8492 .tree .toggle-icon.empty {
93+ width : 10px ;
94+ height : 10px ;
95+ position : absolute ;
96+ top : 50% ;
97+ margin-top : -5px ;
98+ margin-left : -15px ;
8599 background-size : 10px 10px ;
86100 }
87101 .tree ul ul .tree-inner {
332346 <li >
333347 <div class =" tree-inner" data-tab-target-id =" {{ data .id }}-details" >
334348 {% 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 >
336350 {% else %}
337351 <div class =" toggle-icon empty" ></div >
338352 {% endif %}
You can’t perform that action at this time.
0 commit comments