Skip to content

Commit 8da9998

Browse files
authored
Merge pull request #695 from craftcms/feature/pt-1076-focus-is-lost-when-header-anchors-are-focused
Header anchor visibility while focused
2 parents c524072 + 6425474 commit 8da9998

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

+4-1
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)