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

bug: GUI v1 re-sizing code does not work nicely on high res displays #468

Open
mman opened this issue Jan 29, 2025 · 0 comments
Open

bug: GUI v1 re-sizing code does not work nicely on high res displays #468

mman opened this issue Jan 29, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mman
Copy link
Collaborator

mman commented Jan 29, 2025

When <iframe> with GUI v1 loads, we measure its size, compare it with viewport size, and apply CSS scale transform built into tailwindcss to scale up iframe element. This kinda works for small screens but completely breaks for larger screens.

With GUI v2, we simply give the <iframe> available width and height with small padding and let GUI v2 handle it properly.

Figure out a way to scale up the iframe contents only (by accessing the top level remote console <div>) and applying the scale transform there...

@mman mman added the bug Something isn't working label Jan 29, 2025
@mman mman self-assigned this Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant