Commit 2838ad09 authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Merge branch '294430-mg-add-focus-styling-to-anchors' into 'master'

Fix anchor focus styling for markdown headings

See merge request gitlab-org/gitlab!53099
parents 5cf6e13d 9e3e3eb0
...@@ -458,7 +458,7 @@ ...@@ -458,7 +458,7 @@
h6 { h6 {
a.anchor { a.anchor {
float: left; float: left;
margin-left: -16px; margin-left: -20px;
text-decoration: none; text-decoration: none;
outline: none; outline: none;
...@@ -471,6 +471,11 @@ ...@@ -471,6 +471,11 @@
&:hover > a.anchor::after { &:hover > a.anchor::after {
visibility: visible; visibility: visible;
} }
> a.anchor:focus::after {
visibility: visible;
outline: auto;
}
} }
.big { .big {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment