8000 [WebProfilerBundle] Fix css trick used for offsetting html anchor fro… · symfony/symfony@9f9697a · GitHub
[go: up one dir, main page]

Skip to content

Commit 9f9697a

Browse files
committed
[WebProfilerBundle] Fix css trick used for offsetting html anchor from fixed header
1 parent 59094b4 commit 9f9697a

File tree

1 file changed

+2
-2
lines changed
  • src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ a.doc:hover {
6464

6565
.anchor {
6666
position: relative;
67-
padding-top: 7em;
68-
margin-top: -7em;
67+
display: block;
68+
top: -7em;
6969
visibility: hidden;
7070
}

0 commit comments

Comments
 (0)
0