NO BUG: Query loop items are rendered incorrectly on a mobile phone in portrait orientation

Browser: Safari
OS: iOS
URL: https://www.autotissue.de (home page – ‘Latest News’)

Loop items are not rendered correctly on a mobile phone in portrait orientation.

In the page builder I have a very interesting effect. The first item is displayed correctly. In the second item, only the ‘Read more →’ button is shifted to the right border. In the third item, both the text and the button are shifted to the right (see attached screenshot).

On a mobile phone all three items are displayed incorrectly.

It is not possible to imitate the effect in Safari for macOS. Even if the window size is reduced to the minimum width, everything is displayed correctly.

Hi Chris,
Thanks so much for your report!

The problem is that the flex-basis on mobile is still set to 400px, and the content is clearly higher than 400px. Since Safari takes the specs very, perhaps even over-accurately, this is exactly the problem that arises. Unset the flex-basis on mobile, and you’ll be fine.

In general, you can say that 9 out of 10 problems that occur in Safari are in no way related to Bricks but are always caused by how Safari interprets the specs.

Best regards,
timmse

Hi @timmse,

Thank you very much! I didn’t expect the flex-basis to become a height when all elements are stacked on top of each other.

Setting the flex-basis back to ‘auto’ on mobile solved the issue.

Best regards,
Chris