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

Very short usernames on narrow browser windows with darkly-compact layout can cause the user-dropdown-menu to overflow out of the viewport #1986

Open
4 tasks done
Pxtl opened this issue Jul 26, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Pxtl
Copy link

Pxtl commented Jul 26, 2023

Requirements

  • This is a bug report, and if not, please post to https://lemmy.ml/c/lemmy_support instead.
  • Please check to see if this issue already exists.
  • It's a single bug. Do not report multiple bugs in one issue.
  • It's a frontend issue, not a backend issue; Otherwise please create an issue on the backend repo instead.

Summary

I noticed it on lemmy.ca where I think there's some customization to make the layout wider, but I can repro it on sh.itjust.works as well by narrowing the browser window.

image

Steps to Reproduce

  1. Have a very short username and no avatar.
  2. Use "darkly-compact" layout in Settings. Looks like I can repro it on other -compact layouts.
  3. Narrow your browser window to about 600px wide - narrow enough to be quite usable still, but that the layout is now shrinking.
  4. Click the top-right-corner Username dropdown to access profile|settings|logout.
  5. Observe that the menu is overflowing outside of the viewport, causing a horizontal scrollbar to appear.

Technical Details

Windows 10
Can repro on both Firefox and Edge.

image

image

While the repro steps describe narrowing to 600px because that's how you can do it consistently, on Lemmy.ca it occurs in a maximized browser window on my machine (a standard 1080P display with no custom scaling).

Lemmy Instance Version

BE: 0.18.2 for both instances

Lemmy Instance URL

lemmy.ca

@Pxtl Pxtl added the bug Something isn't working label Jul 26, 2023
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