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

fix(UIShell): reduce padding on header name to fix action button (#11687) #12245

Conversation

asamaiya00
Copy link
Contributor

UIShell: SideNav Rail w/header - reduce padding on header name to fix the width of menu action button

by: Animesh Samaiya (asamaiya00@gmail.com)

Closes #11687

Menu button was becoming squashed somewhere between sm breakpoint (320px) and md breakpoint (672px). Fixed it by removing extra padding when md breakpoint is active. Also set the minimum width of the menu button, so that it doesn't squash further.

Changelog

Changed

packages/styles/scss/components/ui-shell/header/_header.scss

Testing / Reviewing

Current:
image

Changed:
image

Please review and let me know of any changes.

@tw15egan

…on-design-system#11687)

UIShell: SideNav Rail w/header - reduce padding to fix width of action button

by: Animesh Samaiya (asamaiya00@gmail.com)
@asamaiya00 asamaiya00 requested a review from a team as a code owner October 5, 2022 20:12
@github-actions
Copy link
Contributor

github-actions bot commented Oct 5, 2022

DCO Assistant Lite bot All contributors have signed the DCO.

Copy link
Member

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

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

Just a couple comments

@netlify
Copy link

netlify bot commented Oct 5, 2022

Deploy Preview for carbon-components-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit f692c6a
🔍 Latest deploy log https://app.netlify.com/sites/carbon-components-react/deploys/633de5434ee2ac000925703a
😎 Deploy Preview https://deploy-preview-12245--carbon-components-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Oct 5, 2022

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit f692c6a
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/633de5437d46540008ab9706
😎 Deploy Preview https://deploy-preview-12245--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Oct 5, 2022

Deploy Preview for carbon-components-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit d0c55f6
🔍 Latest deploy log https://app.netlify.com/sites/carbon-components-react/deploys/633f31868e71fb00088b49be
😎 Deploy Preview https://deploy-preview-12245--carbon-components-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Oct 5, 2022

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit d0c55f6
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/633f318675ab18000966db47
😎 Deploy Preview https://deploy-preview-12245--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

UIShell: SideNav Rail w/header - reduce padding to fix width of action button

    by: Animesh Samaiya (asamaiya00@gmail.com)
…nt-#11687' of https://github.com/asamaiya00/carbon into bug/UI-Shell-menu-button-became-squashed-on-sm-breakpoint-#11687
@tw15egan
Copy link
Member

tw15egan commented Oct 6, 2022

@asamaiya00 looks good, can you sign the DCO by commenting the following:

I have read the DCO document and I hereby sign the DCO.

@asamaiya00
Copy link
Contributor Author

I have read the DCO document and I hereby sign the DCO.

@kodiakhq kodiakhq bot merged commit 1685995 into carbon-design-system:main Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[Bug]: UI Shell menu button became squashed on sm breakpoint
3 participants