Skip to content

Commit d042552

Browse files
committed
fix(MobileHeader): calc top (#384)
1 parent a12c374 commit d042552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/MobileHeader/MobileHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ export const MobileHeader = React.forwardRef<HTMLDivElement, MobileHeaderProps>(
291291
className={b('panels')}
292292
onVeilClick={onCloseDrawer}
293293
onEscape={onCloseDrawer}
294-
style={{top: `calc(${size}px + var(--gn-top-alert-height, 0)`}}
294+
style={{top: `calc(${size}px + var(--gn-top-alert-height, 0px))`}}
295295
>
296296
{[burgerPanelItem, ...panelItems].map((item) => (
297297
<DrawerItem

0 commit comments

Comments
 (0)