Skip media bottom skip in IV.

This commit is contained in:
John Preston 2024-04-26 20:08:44 +04:00
parent 2949cdab61
commit 363c191a6e
2 changed files with 9 additions and 0 deletions

View File

@ -1053,6 +1053,9 @@ section.channel > a > h4 {
display: block; display: block;
margin: 0 auto; margin: 0 auto;
} }
.media-outer {
margin-bottom: 16px;
}
.photo-wrap, .photo-wrap,
.video-wrap { .video-wrap {
width: 100%; width: 100%;

View File

@ -520,6 +520,9 @@ QByteArray Parser::block(
}, result); }, result);
if (!slideshow) { if (!slideshow) {
result += caption(data.vcaption()); result += caption(data.vcaption());
if (!collage) {
result = tag("div", { { "class", "media-outer" } }, result);
}
} }
return result; return result;
} }
@ -585,6 +588,9 @@ QByteArray Parser::block(
} }
if (!slideshow) { if (!slideshow) {
result += caption(data.vcaption()); result += caption(data.vcaption());
if (!collage) {
result = tag("div", { { "class", "media-outer" } }, result);
}
} }
return result; return result;
} }