Skip to content

Commit

Permalink
Docs: Fix broken layout on landing page (dark offline style)
Browse files Browse the repository at this point in the history
The style was already fixed for the "light" offline style,
but the dark offline style was missed.

Amends d39c9d3

Task-number: QTBUG-129178
Fixes: QTBUG-131950
Change-Id: I4f005cbe1945b8a973fb7bf77fb56b4d59d96b9c
Reviewed-by: Paul Wicking <[email protected]>
Reviewed-by: Kai Köhne <[email protected]>
(cherry picked from commit d08b558)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
  • Loading branch information
e4z9 authored and Qt Cherry-pick Bot committed Dec 9, 2024
1 parent 34f6bf5 commit 2e6490a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions doc/global/template/style/offline-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,9 @@ Landing page
vertical-align: top;
}

.landing {
display: flex;
}

.landing h2 {
background-color: transparent;
Expand All @@ -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;
}

Expand Down

0 comments on commit 2e6490a

Please sign in to comment.