Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Fix context menu leaving visible area #5644

Merged
merged 1 commit into from
Feb 22, 2021

Conversation

weeman1337
Copy link
Contributor

I think the + should actually be a -. Before 10px have been added to top leading the menu being lower. If there should be a padding the pixels have to be subtracted.

Before (bottom of the screenshot = bottom of the browser window):
before

After:
after

Relates to element-hq/element-web#3429

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
@weeman1337 weeman1337 changed the title fix context menu padding calculation Fix context menu leaving visible area Feb 14, 2021
@jryans jryans requested a review from a team February 22, 2021 10:18
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, seems like the right change to me. 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants