summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexei Cazacov <[email protected]>2024-09-25 15:11:35 +0300
committerAlexei Cazacov <[email protected]>2024-09-26 08:01:13 +0300
commitd39c9d37ade8d74e534952e47061168be8904fc7 (patch)
treed2d9780823d995f0a63bd3192d3b0475532b3ea8
parent505ee95fda8023fe891c099659dc13115bce4a0b (diff)
Docs: Broken layout on landing page (offline style)
This commit fixes the broken layout. Wrapping the divs of col-1 (content) and col-2(sidebar) classes with a container with `display:flex` does the job. Fixes: QTBUG-129178 Pick-to: dev 6.8 Change-Id: I6867b178e5a1acf6a4fbd5302a857e5f3ca0a62f Reviewed-by: Paul Wicking <[email protected]> Reviewed-by: Kai Köhne <[email protected]>
-rw-r--r--doc/global/template/style/offline.css8
1 files changed, 3 insertions, 5 deletions
diff --git a/doc/global/template/style/offline.css b/doc/global/template/style/offline.css
index 1e5f3dd1e38..b627372ed06 100644
--- a/doc/global/template/style/offline.css
+++ b/doc/global/template/style/offline.css
@@ -724,6 +724,9 @@ Landing page
vertical-align: top;
}
+.landing {
+ display: flex;
+}
.landing h2 {
background-color: transparent;
@@ -738,19 +741,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;
}