Skip to content

Commit

Permalink
Use box-shadow instead of border-bottom to prevent layout jump
Browse files Browse the repository at this point in the history
  • Loading branch information
daudix authored and GabsEdits committed Sep 25, 2024
1 parent e7d9875 commit 81b2732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/ArticleFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const { frontmatter, theme } = useData();
&:hover {
transform: translateY(-0.3125rem);
border-bottom: 3px solid var(--color-accent);
box-shadow: 0 3px var(--color-accent);
background-color: var(--color-background-second);
max-width: 100%;
}
Expand Down

0 comments on commit 81b2732

Please sign in to comment.