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

[@mantine/core] AppShell: Fix wrong padding when navbarOffsetBreakpoint and asideOffsetBreakpoint have the same value #4281

Merged
merged 2 commits into from May 30, 2023

Conversation

neokidev
Copy link
Contributor

@neokidev neokidev commented May 21, 2023

When the navbarOffsetBreakpoint and asideOffsetBreakpoint values in the AppShell component are set to the same value, only the aside padding is correctly overridden with padding-right: 1rem.

style

Therefore, I have made adjustments to ensure that padding-left: 1rem; is correctly applied as well. With this change, both the aside and navbar will have the intended padding.

Fixes #4269

@neokidev neokidev changed the title WIP: [@mantine/core] AppShell: Fix wrong padding when width sm is set in navbar [@mantine/core] AppShell: Fix wrong padding when width sm is set in navbar May 22, 2023
@neokidev neokidev force-pushed the issue-4269-appshell-prototype branch from b2e240d to 847b658 Compare May 22, 2023 11:16
@neokidev neokidev marked this pull request as ready for review May 22, 2023 11:19
@neokidev neokidev changed the title [@mantine/core] AppShell: Fix wrong padding when width sm is set in navbar [@mantine/core] AppShell: Fix wrong padding when navbarOffsetBreakpoint and asideOffsetBreakpoint have the same value May 23, 2023
@neokidev
Copy link
Contributor Author

I created this PR without a link to the issue. It would be appreciated if you could provide a link to #4269 .

@rtivital rtivital merged commit 2940781 into mantinedev:dev May 30, 2023
1 check passed
@rtivital
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants