diff --git a/packages/components/navbar/src/navbar-menu-transitions.ts b/packages/components/navbar/src/navbar-menu-transitions.ts index be791f275f..9c03c89203 100644 --- a/packages/components/navbar/src/navbar-menu-transitions.ts +++ b/packages/components/navbar/src/navbar-menu-transitions.ts @@ -2,7 +2,7 @@ import {Variants} from "framer-motion"; export const menuVariants: Variants = { enter: { - height: "calc(100vh - var(--navbar-height) - 1px)", + height: "calc(100vh - var(--navbar-height))", transition: { duration: 0.3, easings: "easeOut", diff --git a/packages/core/theme/src/components/navbar.ts b/packages/core/theme/src/components/navbar.ts index 8692f75cf4..3acc4f0408 100644 --- a/packages/core/theme/src/components/navbar.ts +++ b/packages/core/theme/src/components/navbar.ts @@ -230,7 +230,7 @@ const navbar = tv({ }, disableAnimation: { true: { - menu: ["hidden", "h-[calc(100dvh_-_var(--navbar-height)_-_1px)]", "data-[open=true]:flex"], + menu: ["hidden", "h-[calc(100dvh_-_var(--navbar-height))]", "data-[open=true]:flex"], }, }, },