Skip to content

Commit c245649

Browse files
committed
fix post anchor styles
1 parent ed01d24 commit c245649

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

styles/globals.css

+14
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,20 @@
1919

2020
/* Post styles */
2121

22+
.prose .anchor {
23+
@apply absolute invisible no-underline;
24+
25+
margin-left: -1em;
26+
padding-right: 0.5em;
27+
width: 80%;
28+
max-width: 700px;
29+
cursor: pointer;
30+
}
31+
32+
.anchor:hover {
33+
@apply visible;
34+
}
35+
2236
.prose a {
2337
@apply transition-all;
2438
}

0 commit comments

Comments
 (0)