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: fixed sidenav alignment with and without get-started #4829

Merged
merged 6 commits into from
Apr 15, 2024

Conversation

SagarRajput-7
Copy link
Contributor

@SagarRajput-7 SagarRajput-7 commented Apr 8, 2024

Summary

When we have a border on the left side of the container, it adds to the overall width of the container. Therefore, the available space for the child items to be aligned within the container is slightly reduced. By removing the border-left, we are effectively increasing the available width for the child items to be centered within the container. This change in width affects the alignment calculation, causing the child items (including the icon) to appear more centered within the container.

Related Issues / PR's

Screenshots

Before After
Screenshot 2024-04-08 at 11 17 28 AM Screenshot 2024-04-08 at 11 15 11 AM

Get-started alignment:

undocked:

Screenshot 2024-04-08 at 11 14 57 AM


docked:

Screenshot 2024-04-08 at 11 14 45 AM

Affected Areas and Manually Tested Areas

Copy link

github-actions bot commented Apr 8, 2024

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@github-actions github-actions bot added the bug Something isn't working label Apr 8, 2024
Copy link

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@SagarRajput-7 SagarRajput-7 merged commit 7bdc9c0 into develop Apr 15, 2024
11 checks passed
@srikanthccv srikanthccv deleted the sideNavFeedback branch June 13, 2024 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants