Skip to content

Commit ff60db2

Browse files
committed
Fix display of numeric lists on file and index pages
1 parent 0f88031 commit ff60db2

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

History.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@
1212
* RDoc::Parser::C finds method bodies better now.
1313
* Fixed further locations where output encoding was not preserved. Bug #11
1414
by Vít Ondruch.
15+
* Fixed display of numeric lists on the index page and file pages. Bug #12
16+
by tobijk.
1517

16-
=== 3.4
18+
=== 3.4 / 2010-01-06
1719

1820
* Minor enhancements
1921
* RDoc::RDoc#document may now be called with an RDoc::Options instance.

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@ body.file p {
9797
margin: 1em 0;
9898
}
9999

100+
.indexpage ol,
101+
.file #documentation ol {
102+
line-height: 160%;
103+
}
104+
100105
.indexpage ul,
101106
.file #documentation ul {
102107
line-height: 160%;
@@ -110,6 +115,20 @@ body.file p {
110115
.indexpage li,
111116
.file #documentation li {
112117
padding-left: 20px;
118+
}
119+
120+
.indexpage ol,
121+
.file #documentation ol {
122+
margin-left: 20px;
123+
}
124+
125+
.indexpage ol > li,
126+
.file #documentation ol > li {
127+
padding-left: 0;
128+
}
129+
130+
.indexpage ul > li,
131+
.file #documentation ul > li {
113132
background: url(images/bullet_black.png) no-repeat left 4px;
114133
}
115134
.indexpage li.module {

0 commit comments

Comments
 (0)