Skip to content

Commit 6425474

Browse files
committed
Make header anchor visible on focus, remove right padding for nicer focus style
1 parent 0512a5f commit 6425474

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/.vuepress/theme/styles/typography.pcss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,12 +233,15 @@
233233
@apply text-sm float-left opacity-0;
234234
font-size: 0.85em;
235235
margin-left: -0.87em;
236-
padding-right: 0.23em;
237236
margin-top: 0.125em;
238237

239238
&:hover {
240239
@apply no-underline;
241240
}
241+
242+
&:focus {
243+
@apply opacity-100;
244+
}
242245
}
243246

244247
code,

0 commit comments

Comments
 (0)