Skip to content

Commit 99b01e6

Browse files
committed
fix: arrow for link in code tags
1 parent 595f9c0 commit 99b01e6

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

assets/css/custom.css

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,15 @@ html[class~="dark"] .content a:has(code){
234234
/* Display an arrow at the end of the linked variable */
235235
.content a:not(.code-block code) code::after {
236236
content: "\00a0↗";
237-
color: tomato;
238-
font-size: 1.1rem;
239-
237+
color: tomato;
238+
font-size: 1rem;
239+
bottom: -2px;
240+
position: relative;
241+
left: 4px;
242+
width: 14px;
243+
display: inline-block;
244+
height: 14px;
245+
line-height: 0.35em;
240246
}
241247

242248
/* Display arrow for external links in the main menu.

0 commit comments

Comments
 (0)