Skip to content

Commit

Permalink
fix(components-DesktopNav): adjust blur size (#895)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabertazimi committed Jun 9, 2022
1 parent d235b63 commit c607117
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
6 changes: 2 additions & 4 deletions components/Header/DesktopNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@ const DesktopNav = ({ fixed, posts }: Props): JSX.Element => (
'fixed top-0 z-10 w-full',
'hidden md:visible md:flex',
'transition transform-gpu',
'bg-transparent border-transparent font-extrabold',
'font-extrabold',
'bg-transparent border-transparent backdrop-blur-md',
{
'backdrop-blur-none': !fixed,
'bg-gradient-primary': !fixed,
'shadow-none': !fixed,
'backdrop-blur-sm': fixed,
'bg-white/30': fixed,
'shadow-lg': fixed,
}
Expand Down
2 changes: 1 addition & 1 deletion components/Header/__snapshots__/Header.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ exports[`Header should render correctly (snapshot) 1`] = `
</div>
</div>
<ul
class="ant-menu-overflow ant-menu ant-menu-root ant-menu-horizontal ant-menu-light fixed top-0 z-10 w-full hidden md:visible md:flex transition transform-gpu bg-transparent border-transparent font-extrabold backdrop-blur-none bg-gradient-primary shadow-none"
class="ant-menu-overflow ant-menu ant-menu-root ant-menu-horizontal ant-menu-light fixed top-0 z-10 w-full hidden md:visible md:flex transition transform-gpu font-extrabold bg-transparent border-transparent backdrop-blur-md bg-gradient-primary"
data-menu-list="true"
role="menu"
tabindex="0"
Expand Down
2 changes: 1 addition & 1 deletion layouts/__snapshots__/Layout.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ exports[`Layout should render correctly (snapshot) 1`] = `
</div>
</div>
<ul
class="ant-menu-overflow ant-menu ant-menu-root ant-menu-horizontal ant-menu-light fixed top-0 z-10 w-full hidden md:visible md:flex transition transform-gpu bg-transparent border-transparent font-extrabold backdrop-blur-none bg-gradient-primary shadow-none"
class="ant-menu-overflow ant-menu ant-menu-root ant-menu-horizontal ant-menu-light fixed top-0 z-10 w-full hidden md:visible md:flex transition transform-gpu font-extrabold bg-transparent border-transparent backdrop-blur-md bg-gradient-primary"
data-menu-list="true"
role="menu"
tabindex="0"
Expand Down
2 changes: 1 addition & 1 deletion layouts/__snapshots__/PostLayout.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ exports[`PostLayout should render correctly (snapshot) 1`] = `
</div>
</div>
<ul
class="ant-menu-overflow ant-menu ant-menu-root ant-menu-horizontal ant-menu-light fixed top-0 z-10 w-full hidden md:visible md:flex transition transform-gpu bg-transparent border-transparent font-extrabold backdrop-blur-none bg-gradient-primary shadow-none"
class="ant-menu-overflow ant-menu ant-menu-root ant-menu-horizontal ant-menu-light fixed top-0 z-10 w-full hidden md:visible md:flex transition transform-gpu font-extrabold bg-transparent border-transparent backdrop-blur-md bg-gradient-primary"
data-menu-list="true"
role="menu"
tabindex="0"
Expand Down

1 comment on commit c607117

@vercel
Copy link

@vercel vercel bot commented on c607117 Jun 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blog – ./

blog-git-main-sabertaz.vercel.app
blog.tazimi.dev
blog-sabertaz.vercel.app

Please sign in to comment.