ruby-changes:54771
From: nobu <ko1@a...>
Date: Sat, 2 Feb 2019 15:54:59 +0900 (JST)
Subject: [ruby-changes:54771] nobu:r66990 (trunk): rdoc.css: make label-list compact
nobu 2019-02-02 15:54:55 +0900 (Sat, 02 Feb 2019) New Revision: 66990 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66990 Log: 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 ``` Modified files: trunk/lib/rdoc/generator/template/darkfish/css/rdoc.css Index: lib/rdoc/generator/template/darkfish/css/rdoc.css =================================================================== --- lib/rdoc/generator/template/darkfish/css/rdoc.css (revision 66989) +++ lib/rdoc/generator/template/darkfish/css/rdoc.css (revision 66990) @@ -261,6 +261,11 @@ ul.link-list .type { https://github.com/ruby/ruby/blob/trunk/lib/rdoc/generator/template/darkfish/css/rdoc.css#L261 -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; } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/