Skip to content

Commit ac0de0d

Browse files
authored
Merge pull request #27 from thedevdavid/hotfix/anchor-links
fix: fixed anchor link CSS placement
2 parents 0685a0b + fae1e46 commit ac0de0d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/globals.css

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
@apply mb-6 border-t border-muted-foreground pt-2 text-sm text-muted-foreground;
66
}
77

8+
.anchor-heading-link {
9+
@apply duration-150 before:-ml-5 before:italic before:opacity-0 before:transition-opacity before:content-['#_'] hover:before:opacity-100;
10+
}
11+
812
@tailwind utilities;
913

1014
@layer base {

0 commit comments

Comments
 (0)