Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set max-width of the website via settings #93

Open
stracker-phil opened this issue Nov 11, 2021 · 2 comments
Open

Set max-width of the website via settings #93

stracker-phil opened this issue Nov 11, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@stracker-phil
Copy link

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

  • Solution 1: Add new website settings in the app to define left, right, top, bottom of the browser window. Default is "0" for all values to get a full-screen website.

  • Solution 2: Add new website settings in the app to define window width (pixel or percent), and align [left|center|right]. Default might be "100%" and "center"

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

@stracker-phil stracker-phil added the enhancement New feature or request label Nov 11, 2021
@Andreas-T
Copy link

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

@KMWAZ
Copy link

KMWAZ commented May 23, 2024

Also agree..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants