From f286e0813be5eca789398d3cfcf657a5485d1acf Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Mon, 25 Aug 2014 11:59:00 +0200 Subject: 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 --- doc/global/template/style/offline.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') 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 { -- cgit v1.2.3