summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@digia.com>2014-08-25 11:59:00 +0200
committerTopi Reiniƶ <topi.reinio@digia.com>2014-08-26 20:08:21 +0200
commitf286e0813be5eca789398d3cfcf657a5485d1acf (patch)
treeee4fa1cd1e1eacc96a5ea51a6e9c6f30ab94d689
parent4cc3a41819393b504adfcd351a9282dacf1681d5 (diff)
Doc: Add CSS rules for subtitles
In the offline template, the floating elements in the navigation bar interfere with the layout of any elements displayed next to it. In particular, subtitles used for example files and nested class documentation have wrong horizontal position. This change adds CSS for the subtitles to be displayed as block elements, and disallows floating elements on the left side - TOC is still allowed to float on the right side. Task-number: QTBUG-40924 Change-Id: I89be3844985e6cf95263db575768034d9270d140 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
-rw-r--r--doc/global/template/style/offline.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/global/template/style/offline.css b/doc/global/template/style/offline.css
index c993a07d47..7fc0d62fa6 100644
--- a/doc/global/template/style/offline.css
+++ b/doc/global/template/style/offline.css
@@ -305,6 +305,10 @@ headers
margin-left: 0px;
margin-right: 0px;
}
+ .subtitle, .small-subtitle {
+ display: block;
+ clear: left;
+ }
}
h1 {