Skip to content

Commit 18abd1c

Browse files
nobuaycabta
authored andcommitted
rdoc.css: make label-list compact
"Labeled Lists" section in lib/rdoc/markup.rb states labeled-list will be formatted in same lines. ``` Notice that blank lines right after the label are ignored in labeled lists: [one] definition 1 [two] definition 2 produces the same output as [one] definition 1 [two] definition 2 ``` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 76578cd commit 18abd1c

File tree

1 file changed

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

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,11 @@ ul.link-list .type {
261261
-webkit-border-radius: 5px;
262262
}
263263

264+
dl.label-list dt {
265+
float: left;
266+
margin-right: 1em;
267+
}
268+
264269
.calls-super {
265270
background: url(images/arrow_up.png) no-repeat right center;
266271
}

0 commit comments

Comments
 (0)