mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +02:00
Skip media bottom skip in IV.
This commit is contained in:
parent
2949cdab61
commit
363c191a6e
2 changed files with 9 additions and 0 deletions
|
@ -1053,6 +1053,9 @@ section.channel > a > h4 {
|
|||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.media-outer {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.photo-wrap,
|
||||
.video-wrap {
|
||||
width: 100%;
|
||||
|
|
|
@ -520,6 +520,9 @@ QByteArray Parser::block(
|
|||
}, result);
|
||||
if (!slideshow) {
|
||||
result += caption(data.vcaption());
|
||||
if (!collage) {
|
||||
result = tag("div", { { "class", "media-outer" } }, result);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
@ -585,6 +588,9 @@ QByteArray Parser::block(
|
|||
}
|
||||
if (!slideshow) {
|
||||
result += caption(data.vcaption());
|
||||
if (!collage) {
|
||||
result = tag("div", { { "class", "media-outer" } }, result);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue