File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed
src/Symfony/Bundle/WebProfilerBundle/Resources/views Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 3
3
{% block toolbar %}
4
4
{% set time = collector .templatecount ? ' %0.0f' | format (collector .time ) : ' n/a' %}
5
5
{% set icon %}
6
- <span >
7
- {{ include (' @WebProfiler/Icon/twig.html.twig' ) }}
8
- <span class =" sf-toolbar-value" >{{ time }}</span >
9
- <span class =" sf-toolbar-label" >ms</span >
10
- </span >
6
+ {{ include (' @WebProfiler/Icon/twig.html.twig' ) }}
7
+ <span class =" sf-toolbar-value" >{{ time }}</span >
8
+ <span class =" sf-toolbar-label" >ms</span >
11
9
{% endset %}
12
10
13
11
{% set text %}
Original file line number Diff line number Diff line change 393
393
.sf-toolbar-icon .sf-toolbar-value {
394
394
display: inline;
395
395
}
396
+ .sf-toolbar-block .sf-toolbar-value {
397
+ /* needed for perfect vertical aligning */
398
+ line-height: 37px;
399
+ }
396
400
397
401
.sf-toolbar-block .sf-toolbar-icon img,
398
402
.sf-toolbar-block .sf-toolbar-icon svg {
399
403
top: 6px;
400
404
}
405
+ /* TODO: needed for perfect vertical aligning, remove when icons are recreated */
406
+ .sf-toolbar-block-twig .sf-toolbar-icon img {
407
+ top: 7px;
408
+ }
409
+ .sf-toolbar-block-security .sf-toolbar-icon svg {
410
+ top: 7px;
411
+ }
401
412
.sf-toolbar-block-config .sf-toolbar-icon svg {
402
413
top: 8px;
403
414
}
You can’t perform that action at this time.
0 commit comments