Fix position of discussed post on big window width

This commit is contained in:
Eric Kotato 2021-04-02 00:21:01 +03:00
parent e6804991f6
commit 93c6a05f60

View file

@ -2556,7 +2556,9 @@ QRect Message::countGeometry() const {
contentWidth = mediaWidth;
}
}
if (contentWidth < availableWidth && !Core::App().settings().chatWide()) {
if (contentWidth < availableWidth
&& (!Core::App().settings().chatWide()
|| (commentsRoot && AdaptiveBubbles()))) {
if (outbg) {
contentLeft += availableWidth - contentWidth;
} else if (commentsRoot) {