Styles and images not loading when previewing tablet and phone modes

Created on 25 November 2023, over 1 year ago
Updated 26 November 2023, over 1 year ago

When previewing the content on tablet and phone modes, styles and images aren't being loaded.
These modes uses IFrames and it seems that links not using a full URL doesn't work.
For example, an image src with /sites/default/files/inline-images/image.jpeg won't work inside the frame but it works if set to a full url like https://mysite.dev/sites/default/files/inline-images/image.jpeg. The same goes for stylesheets.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇵🇹Portugal marcofernandes

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024