Skip to content

Conversation

@oki07
Copy link
Contributor

@oki07 oki07 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

@oki07 oki07 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
@oki07 oki07 force-pushed the issue-4269-appshell-prototype branch from b2e240d to 847b658 Compare May 22, 2023 11:16
@oki07 oki07 marked this pull request as ready for review May 22, 2023 11:19
@oki07 oki07 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
@oki07
Copy link
Contributor Author

oki07 commented May 27, 2023

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
@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.

2 participants