From d08b55867bb9aa75639b4e36e1ec2af28dad00b6 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Fri, 6 Dec 2024 11:45:09 +0100 Subject: [PATCH] Docs: Fix broken layout on landing page (dark offline style) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The style was already fixed for the "light" offline style, but the dark offline style was missed. Amends d39c9d37ade8d74e534952e47061168be8904fc7 Task-number: QTBUG-129178 Fixes: QTBUG-131950 Pick-to: 6.8 Change-Id: I4f005cbe1945b8a973fb7bf77fb56b4d59d96b9c Reviewed-by: Paul Wicking Reviewed-by: Kai Köhne --- doc/global/template/style/offline-dark.css | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/doc/global/template/style/offline-dark.css b/doc/global/template/style/offline-dark.css index 1410a6091ab..7f30cf4fa72 100644 --- a/doc/global/template/style/offline-dark.css +++ b/doc/global/template/style/offline-dark.css @@ -692,6 +692,9 @@ Landing page vertical-align: top; } +.landing { + display: flex; +} .landing h2 { background-color: transparent; @@ -706,19 +709,14 @@ Landing page } .col-1 { - display: inline-block; white-space: normal; width: 70%; - height: 100%; - float: left; } .col-2 { - display: inline-block; white-space: normal; width: 20%; margin-left: 5%; - position: relative; top: -20px; }