Skip to content

Commit 8c02435

Browse files
committed
Only apply highlight on the method heading
1 parent eb05c44 commit 8c02435

File tree

1 file changed

+2
-2
lines changed
  • lib/rdoc/generator/template/darkfish/css

1 file changed

+2
-2
lines changed

lib/rdoc/generator/template/darkfish/css/rdoc.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,8 +579,8 @@ main .method-detail {
579579
margin-bottom: 2.5em;
580580
}
581581

582-
main .method-detail:target {
583-
margin-left: -10px;
582+
main .method-detail:target .method-heading {
583+
margin-left: 10px;
584584
border-left: 10px solid var(--border-color);
585585
}
586586

0 commit comments

Comments
 (0)