Skip to content

Commit

Permalink
fix: BlogPostGridItems style
Browse files Browse the repository at this point in the history
  • Loading branch information
kuizuo committed Jan 3, 2024
1 parent ec90d15 commit 94a84c0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
21 changes: 0 additions & 21 deletions src/theme/BlogPostGridItems/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,27 +78,6 @@ export default function BlogPostGridItems({ items }: BlogPostItemsProps): JSX.El
)}
</div>
<div className={styles.itemDate}>{dateString}</div>
<motion.div
style={{
position: 'absolute',
top: 0,
left: 0,
width: '100%',
height: '100%',
background: 'rgba(0, 0, 0, 0.5)', // Adjust the opacity as needed
}}
/>
<div
style={{
position: 'absolute',
top: 0,
left: 0,
width: '100%',
height: '100%',
clipPath: 'circle(100px at var(--mouse-x) var(--mouse-y))',
// Ensure that the variables are set as CSS variables
}}
/>
</motion.div>
)
})}
Expand Down
2 changes: 1 addition & 1 deletion src/theme/BlogPostGridItems/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
font-size: 0.9em;

a {
padding: 1px 2px;
padding: 0 1px;
border: 0 !important;
color: inherit;

Expand Down

1 comment on commit 94a84c0

@vercel
Copy link

@vercel vercel bot commented on 94a84c0 Jan 3, 2024

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-kuizuo1.vercel.app
blog-kuizuo1.vercel.app
kuizuo.cn
blog-kuizuo.vercel.app

Please sign in to comment.