doc: Remove vertical space before youtube video links in offline mode

The vspan was originally added for iframes. They are not needed
(and look weird) for normal images/links.

Fixes: QTBUG-92266
Change-Id: I9da2b52234b2e49bc0cdef4bf8f0865fb092bb31
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 0078a782548dd25c9bc5f9f30d1719b1e9b039ed)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Kai Köhne 2021-03-31 17:41:06 +02:00 committed by Qt Cherry-pick Bot
parent 9a186e1da7
commit 5d00836c2a
2 changed files with 1 additions and 5 deletions

View File

@ -56,7 +56,7 @@ macro.QtMinorVersion.match = "\\d+\\.(\\d+)"
# HTML.extraimages += images/dQw4w9WgXcQ.jpg
# qhp.ProjectName.extraFiles += images/dQw4w9WgXcQ.jpg
#
macro.youtube.HTML = "<div class=\"video\">\n<span class=\"vspan\"></span>\n" \
macro.youtube.HTML = "<div class=\"video\">\n" \
"<a href=\"https://www.youtube.com/watch/?v=\1\">\n"\
"<img src=\"images/\1.jpg\"" \
"title=\"Click to play in a browser\" /></a>\n" \

View File

@ -806,10 +806,6 @@ div.multi-column div {
display:table
}
.mainContent .video > .vspan {
padding-top:60%;
display:block
}
.mainContent .video iframe {
width:100%;
height:100%;