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

Apply minimum calculation for the max width #362

Merged
merged 6 commits into from Feb 1, 2021

Conversation

itamargiv
Copy link
Member

This bug fix will cause the OptionsMenu to fall back to a maximum width of 95vw when the viewport width is smaller than 200% of the OptionsMenu parent (arbitrary 5vw reduction chosen to compensate for implementation padding + margin, in consultation with @SaiSan-WMDE).

@itamargiv itamargiv requested a review from a team January 25, 2021 14:47
@github-actions
Copy link

Copy link
Contributor

@tzhelyazkova tzhelyazkova left a comment

Choose a reason for hiding this comment

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

damn that css min() concept is confusing, had to read it a few times on the MDN docs, but I think I get it now.
+1 for the fix

@itamargiv itamargiv merged commit 2b516e2 into master Feb 1, 2021
@itamargiv itamargiv deleted the adjust-optionsmenu-width-T269928 branch February 1, 2021 13:37
micgro42 pushed a commit that referenced this pull request Feb 16, 2021
* Apply minimum calculation for the max width
* Fix clash between sass min and css min

Bug: T269928
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants