summaryrefslogtreecommitdiff
path: root/src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.css
diff options
context:
space:
mode:
authorAntoine Gourlay <antoine@gourlay.fr>2015-03-30 17:24:33 +0200
committerAntoine Gourlay <antoine@gourlay.fr>2015-04-02 17:23:10 +0200
commit2ce7ead5390368a2a6b7534f0ebfa20805b79221 (patch)
tree2f0681f9af5966a1fdf234fc1c3428b27ac1a41f /src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.css
parent29a960ab18f7f2b9f34d0384b1a86aa6898056ea (diff)
downloadscala-2ce7ead5390368a2a6b7534f0ebfa20805b79221.tar.gz
scala-2ce7ead5390368a2a6b7534f0ebfa20805b79221.tar.bz2
scala-2ce7ead5390368a2a6b7534f0ebfa20805b79221.zip
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
Diffstat (limited to 'src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.css')
-rw-r--r--src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.css2
1 files changed, 2 insertions, 0 deletions
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 */