mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Fix webpage layouts with thumbnails.
This commit is contained in:
parent
e173c727f7
commit
fbe93b0afc
1 changed files with 1 additions and 3 deletions
|
@ -421,9 +421,7 @@ QSize WebPage::countCurrentSize(int newWidth) {
|
|||
_pixh = (asSponsored ? kSponsoredUserpicLines : linesMax) * lineHeight;
|
||||
do {
|
||||
_pixw = asSponsored ? _pixh : articleThumbWidth(_data->photo, _pixh);
|
||||
auto wleft = asSponsored
|
||||
? innerWidth - st::webPagePhotoDelta - qMax(_pixw, lineHeight)
|
||||
: innerWidth;
|
||||
auto wleft = innerWidth - st::webPagePhotoDelta - qMax(_pixw, lineHeight);
|
||||
|
||||
newHeight = siteNameHeight;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue