From 2ce7ead5390368a2a6b7534f0ebfa20805b79221 Mon Sep 17 00:00:00 2001 From: Antoine Gourlay Date: Mon, 30 Mar 2015 17:24:33 +0200 Subject: fix Scaladoc html display when there are empty tags Empty scaladoc tags used to completely break the HTML layout of classes and methods. See the difference between before [1] and after [2]. [1]: http://static.gourlaysama.net/img/scaladoc_t5795_before.png [2]: http://static.gourlaysama.net/img/scaladoc_t5795_after.png --- src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.css | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.css b/src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.css index e129e6cf6a..e84d7c1ca6 100644 --- a/src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.css +++ b/src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.css @@ -210,6 +210,7 @@ dl.attributes > dd { display: block; padding-left: 10em; margin-bottom: 5px; + min-height: 15px; } #template .values > h3 { @@ -669,6 +670,7 @@ div.fullcomment dl.paramcmts > dd { padding-left: 10px; margin-bottom: 5px; margin-left: 70px; + min-height: 15px; } /* Members filter tool */ -- cgit v1.2.3