Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: bug fixes

Dillion Verma8c7a33f5b32b
diff --git a/components/mobile-nav.tsx b/components/mobile-nav.tsx
index 30fe0b72..1db6606f 100644
--- a/components/mobile-nav.tsx
+++ b/components/mobile-nav.tsx
@@ -65,6 +65,11 @@ export function MobileNav() {
className="text-muted-foreground"
>
{item.title}
+ {item.label && (
+ <span className="ml-2 rounded-md bg-[#FFBD7A] px-1.5 py-0.5 text-xs leading-none text-[#000000] no-underline group-hover:no-underline">
+ {item.label}
+ </span>
+ )}
</MobileLink>
) : (
item.title
diff --git a/registry/blocks/example/header-1.tsx b/registry/blocks/example/header-1.tsx
index 5b2a7258..262e818e 100644
--- a/registry/blocks/example/header-1.tsx
+++ b/registry/blocks/example/header-1.tsx
@@ -65,7 +65,7 @@ export default function StickyHeader() {
<a href="#">Magic UI</a>
</div>
{/* <h1 className="hidden lg:flex">Logo</h1> */}
- <div className="absolute inset-x-0 top-6 z-[60] flex items-center justify-center">
+ <div className="absolute inset-x-0 top-6 z-50 flex items-center justify-center">
<motion.div
initial={{ x: 0 }}
animate={{
@@ -81,7 +81,7 @@ export default function StickyHeader() {
delay: 0.05,
}}
className={cn(
- "supports-backdrop-blur:bg-white/90 mx-4 flex w-full items-center justify-center overflow-hidden rounded-full bg-white bg-white/40 px-3 py-2.5 backdrop-blur-md transition-all dark:bg-black/40 lg:w-auto lg:p-1.5 lg:py-2",
+ "supports-backdrop-blur:bg-white/90 mx-4 flex w-full items-center justify-center overflow-hidden rounded-full bg-white bg-white/40 px-3 py-2.5 backdrop-blur-md transition-all dark:bg-black/20 lg:w-auto lg:p-1.5 lg:py-2",
)}
>
<ul className="flex h-full w-full flex-row justify-between gap-6 lg:flex-row lg:justify-start lg:gap-1">