sindresorhus / Plash

💦 Make any website your Mac desktop wallpaper
https://sindresorhus.com/plash
MIT License
3.51k stars 129 forks source link

Set max-width of the website via settings #93

Open stracker-phil opened 2 years ago

stracker-phil commented 2 years ago

Problem I try to solve

I want to display a website as a "sidebar" on the desktop. At the moment, I'm applying this with the following CSS:

:root { width: 420px }

Problem: This only changes the container width and not the window width; as a result, the "Desktop" version of the website is displayed instead of the mobile layout -- i.e.,@media queries are not affected by the CSS solution

Describe the solution you'd like

Additional context

This is how the "sidebar" currently looks:

responsive-layout-wrong

This is how I'd like the sidebar to appear, with a quick mock of the Solution 1 settings in the website settings:

responsive-layout-correct
Andreas-T commented 2 years ago

I second this suggestion. This would allow the remaining desktop to function normally while in browsing mode.

KMWAZ commented 5 months ago

Also agree..