Skip to content

Commit

Permalink
[@mantine/core] AppShell: Fix header height 0 not working (#5514)
Browse files Browse the repository at this point in the history
  • Loading branch information
rtivital committed Jan 5, 2024
1 parent e691391 commit 32f3c7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function Usage() {
collapsed: { desktop: !asideOpened, mobile: !asideMobileOpened },
}}
header={{
height: 50,
height: 0,
collapsed: !headerOpened,
}}
footer={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function scaleRem(remValue: string) {
function createConverter(units: string, { shouldScale = false } = {}) {
function converter(value: unknown): string {
if (value === 0 || value === '0') {
return '0';
return '0rem';
}

if (typeof value === 'number') {
Expand Down

0 comments on commit 32f3c7a

Please sign in to comment.