Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7fdffd1

Browse files
author
James Halsall
committed
[WebProfilerBundle] Fix margin on toolbar route panel.
When no route was found (404) then the route panel margin would cause unnecessary space between the status panel and the response time panel.
1 parent 0cd5f13 commit 7fdffd1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar.css.twig

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -461,8 +461,11 @@
461461
padding-left: 0;
462462
padding-right: 0;
463463
}
464-
.sf-toolbar-block-request .sf-toolbar-status {
465-
margin-right: 5px;
464+
.sf-toolbar-block-request .sf-toolbar-label {
465+
margin-left: 5px;
466+
}
467+
.sf-toolbar-block-request .sf-toolbar-status + svg {
468+
margin-left: 5px;
466469
}
467470
.sf-toolbar-block-request .sf-toolbar-icon svg + .sf-toolbar-label {
468471
margin-left: 0;

0 commit comments

Comments
 (0)