From 33d026034e68fefcc8a6615907e864d39da6a3fb Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 2 Feb 2019 06:54:55 +0000 Subject: 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 --- lib/rdoc/generator/template/darkfish/css/rdoc.css | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib') diff --git a/lib/rdoc/generator/template/darkfish/css/rdoc.css b/lib/rdoc/generator/template/darkfish/css/rdoc.css index 2f4dca7e08..a6a577d1a1 100644 --- a/lib/rdoc/generator/template/darkfish/css/rdoc.css +++ b/lib/rdoc/generator/template/darkfish/css/rdoc.css @@ -261,6 +261,11 @@ ul.link-list .type { -webkit-border-radius: 5px; } +dl.label-list dt { + float: left; + margin-right: 1em; +} + .calls-super { background: url(images/arrow_up.png) no-repeat right center; } -- cgit v1.2.3