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

feat(MegaMenu): layout iteration in breakpoint between 800 - 1055px #4021

Merged

Conversation

annawen1
Copy link
Member

@annawen1 annawen1 commented Sep 22, 2020

Related Ticket(s)

React: MegaMenu iteration 1 breakpoint and layout updates #3948

Description

New layout for Megamenu at 800px - 1055px.

NOTE: The L0 nav items will appear squished in the lower breakpoints (~800px). We will need the new overflow feature to the Masthead (React: Add the overflow feature to the Masthead #3875) for this to be fixed.

EXPECTED:
Screen Shot 2020-09-22 at 9 22 42 AM

Changelog

Changed

  • added styling for breakpoints in between 800 - 1055px

Removed

  • stale styling for code used to hide masthead

@annawen1 annawen1 added package: react Work necessary for the Carbon for IBM.com react components package feature flag labels Sep 22, 2020
@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Sep 22, 2020

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Sep 22, 2020

Deploy preview created for package React:
https://ibmdotcom-react.s3.us-south.cloud-object-storage.appdomain.cloud/deploy-previews/4021/index.html

Built with commit: 6ce38afe3f7932e4a997514bd1d5762330544450

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Sep 22, 2020

@kennylam kennylam added the Ready to merge Label for the pull requests that are ready to merge label Sep 22, 2020
@kodiakhq kodiakhq bot merged commit 9066015 into carbon-design-system:master Sep 22, 2020
@oliviaflory
Copy link
Contributor

@annawen1 this looks great!

One small thing @wonilsuhibm and I noticed is the hover state for the items within the mega menu is rendering at 36px tall, and they should be 32px.

Screen Shot 2020-09-22 at 5 55 46 PM

From the inspect tool I'd guess that adjusting the top and bottom padding to 7px would fix it. Not sure if it's appropriate to fix in this PR, so I'm happy to write a new issue if that's the correct way to go about that update.

@ghost
Copy link

ghost commented Sep 22, 2020

This layout is workign pretty well. Thank you everyone!

One thing I observed on an iPad Pro 12.9 inch 2020 model (iOS 13.7) and in both Chrome and Safari:
IMG_0118

This is weird because I can't reproduce this on my desktop.

@ghost
Copy link

ghost commented Sep 22, 2020

And the same on iPad 11 inch in Browser Stack:
Screen Shot 2020-09-22 at 6 48 39 PM

asudoh added a commit to asudoh/ibm-dotcom-library that referenced this pull request Sep 24, 2020
Found that the latest breakpoint introduced for React masthead (carbon-design-system#4021)
does not fit well with non-megamenu environment (like what our Web
Components codebase is as of today).

Reverted the breakpoint only for Web Components styles, to fix that
problem.
kodiakhq bot pushed a commit that referenced this pull request Sep 28, 2020
### Description

Found that the latest breakpoint introduced for React masthead (#4021) does not fit well with non-megamenu environment (like what our Web Components codebase is as of today).

Reverted the breakpoint only for Web Components styles, to fix that problem.

### Changelog

**Changed**

- Change the breakpoint of narrow mode masthead back to `lg`.
ariellalgilmore pushed a commit to ariellalgilmore/carbon-for-ibm-dotcom that referenced this pull request Oct 2, 2020
### Description

Found that the latest breakpoint introduced for React masthead (carbon-design-system#4021) does not fit well with non-megamenu environment (like what our Web Components codebase is as of today).

Reverted the breakpoint only for Web Components styles, to fix that problem.

### Changelog

**Changed**

- Change the breakpoint of narrow mode masthead back to `lg`.
@annawen1 annawen1 deleted the feat/megamenu-iteration branch February 10, 2021 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature flag package: react Work necessary for the Carbon for IBM.com react components package Ready to merge Label for the pull requests that are ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants