8000 [WebProfilerBundle] Fix anchor CSS · mssimi/symfony@ee45992 · GitHub
[go: up one dir, main page]

Skip to content

Commit ee45992

Browse files
ro0NLnicolas-grekas
authored andcommitted
[WebProfilerBundle] Fix anchor CSS
1 parent fcca141 commit ee45992

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Bridge/Twig/Extension/CodeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,6 @@ protected static function fixCodeMarkup($line)
259259
$line .= '</span>';
260260
}
261261

262-
return $line;
262+
return trim($line);
263263
}
264264
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ a.doc:hover {
6868

6969
.anchor {
7070
position: relative;
71-
display: block;
71+
display: inline-block;
7272
top: -7em;
7373
visibility: hidden;
7474
}

0 commit comments

Comments
 (0)
0