mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(navbar): fixed the height of navbar menu (#1805)
* fix(navbar): fixed the height of navbar menu * fix(navbar): refactored the css of navbar * fix(navbar): fix redundant expression * fix(navbar): fixed unnecessary changes * fix(navbar): adjust viewport
This commit is contained in:
parent
75d1223178
commit
be932c13fe
@ -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",
|
||||
|
||||
@ -233,7 +233,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"],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user