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: (Core) remove responsive paddings when Shellbar is used with Side Nav #4566

Merged
merged 2 commits into from
Feb 4, 2021

Conversation

InnaAtanasova
Copy link
Contributor

Please provide a link to the associated issue.

closes #4556

Please provide a brief summary of this pull request.

This PR removes the responsive paddings which are applied based on the screen size so that the control button (hamburger ) is aligned vertically with the icons/text in the Side Nav. This is achieved by introducing a modifier class fd-shellbar--side-nav which applies 0 0.5rem 0 0 paddings on the Shellbar.

Please check whether the PR fulfills the following requirements

Documentation checklist:

  • [na] update README.md
  • [na] Breaking Changes Wiki
  • Documentation Examples
  • Stackblitz works for all examples

@InnaAtanasova InnaAtanasova added core Core library specific issues denoland labels Feb 2, 2021
@InnaAtanasova InnaAtanasova added this to the Sprint 55 - Monaco milestone Feb 2, 2021
@InnaAtanasova InnaAtanasova requested a review from a team February 2, 2021 21:10
@InnaAtanasova InnaAtanasova self-assigned this Feb 2, 2021
@InnaAtanasova InnaAtanasova added this to In progress in Development via automation Feb 2, 2021
@netlify
Copy link

netlify bot commented Feb 2, 2021

Deploy preview for fundamental-ngx ready!

Built with commit 8661969

https://deploy-preview-4566--fundamental-ngx.netlify.app

* When set to true, the responsive paddings are not applied
*/
@Input()
sideNav: boolean = false;
Copy link
Contributor

Choose a reason for hiding this comment

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

unnecessary type

@InnaAtanasova InnaAtanasova force-pushed the fix/shellbar-with-sidenav branch 2 times, most recently from 4188157 to c1f0c64 Compare February 3, 2021 16:16
Copy link
Contributor

@JKMarkowski JKMarkowski left a comment

Choose a reason for hiding this comment

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

LGTM

@InnaAtanasova InnaAtanasova merged commit aa46dbb into main Feb 4, 2021
Development automation moved this from In progress to Done Feb 4, 2021
@InnaAtanasova InnaAtanasova deleted the fix/shellbar-with-sidenav branch February 4, 2021 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core library specific issues denoland
Projects
No open projects
Development
  
Done
Development

Successfully merging this pull request may close these issues.

ShellBar responsive paddings when used with Side Navigation
3 participants