Skip to content

Commit

Permalink
[@mantine/core] AppShell: Fix incorrect CSS variables (#3687)
Browse files Browse the repository at this point in the history
Co-authored-by: Ilya Krasov <krasov@addamant.ru>
  • Loading branch information
ForeshadowRU and Ilya Krasov committed Mar 8, 2023
1 parent 3410460 commit 8df978b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/mantine-core/src/AppShell/AppShell.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ function getPositionStyles(props: AppShellStylesParams, theme: MantineTheme): CS

return {
minHeight: '100vh',
paddingTop: `calc(var(--mantine-header-height, 0) + ${padding})`,
paddingBottom: `calc(var(--mantine-footer-height, 0) + ${padding})`,
paddingLeft: `calc(var(--mantine-navbar-width, 0) + ${padding})`,
paddingRight: `calc(var(--mantine-aside-width, 0) + ${padding})`,
paddingTop: `calc(var(--mantine-header-height, 0px) + ${padding})`,
paddingBottom: `calc(var(--mantine-footer-height, 0px) + ${padding})`,
paddingLeft: `calc(var(--mantine-navbar-width, 0px) + ${padding})`,
paddingRight: `calc(var(--mantine-aside-width, 0px) + ${padding})`,

[`@media (max-width: ${em(getBreakpointValue(navbarOffset) - 1)})`]: {
paddingLeft: padding,
Expand Down

0 comments on commit 8df978b

Please sign in to comment.