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 Report For Peer Testing #18 - Screen misaligned after logging in and changing window width #178

Open
ryannmahajan opened this issue Apr 24, 2021 · 2 comments
Assignees
Labels
bug Something isn't working medium priority UX/UI

Comments

@ryannmahajan
Copy link
Collaborator

Summary: Screen misaligned after logging in and changing window width

Description/Steps to reproduce:

  1. Log out
  2. Resize browser window to left or right half of screen
  3. Log in
  4. Resize window to full width
  5. Result:
    image

Severity: Medium

@ryannmahajan ryannmahajan changed the title Bug report for peer testing #18 Bug report for Peer Testing #18 Apr 24, 2021
@ryannmahajan ryannmahajan changed the title Bug report for Peer Testing #18 Bug Report For Peer Testing #18 Apr 24, 2021
@osori osori changed the title Bug Report For Peer Testing #18 Bug Report For Peer Testing #18 - Screen misaligned after logging in and changing window width Apr 25, 2021
@osori
Copy link
Collaborator

osori commented Apr 25, 2021

Good catch! Thanks a lot for the report.

It seems to be stemming from the width property of the map element. Perhaps we should look into this viewport setting below:

viewport: {
width: "60vw",
height: "80vh",

@osori osori assigned osori and yayen-lin and unassigned osori and yayen-lin Apr 25, 2021
@osori osori added bug Something isn't working medium priority UX/UI labels Apr 25, 2021
@klmui
Copy link
Member

klmui commented Apr 27, 2021

@osori yes, it is because of that. I think we need to add some Javascript logic to detect when the screen width changes, and if so, just call a function that changes the viewport.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working medium priority UX/UI
Projects
None yet
Development

No branches or pull requests

4 participants