Skip to content

Commit 24797bb

Browse files
committed
Restore float:left style for note lists
Unlike the original note list styles, this version sets the line-height for all `dt` elements to be the same as the `p` elements contained inside the `dd`, so that the second line has the same indentation as all subsequent lines.
1 parent f36bc8f commit 24797bb

File tree

1 file changed

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

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,9 +469,15 @@ main dl {
469469
}
470470

471471
main dt {
472+
line-height: 1.5; /* matches `main p` */
472473
font-weight: bold;
473474
}
474475

476+
main dl.note-list dt {
477+
margin-right: 1em;
478+
float: left;
479+
}
480+
475481
main dd {
476482
margin: 0 0 1em 1em;
477483
}

0 commit comments

Comments
 (0)