Commit 08030b54 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'ph/focusCopyCodeButton' into 'master'

Allow copy code button to be focusable

See merge request gitlab-org/gitlab!76889
parents 370d1db0 f6366a28
...@@ -460,7 +460,8 @@ copy-code { ...@@ -460,7 +460,8 @@ copy-code {
top: 7px; top: 7px;
right: $input-horizontal-padding; right: $input-horizontal-padding;
.markdown-code-block:hover & { .markdown-code-block:hover &,
&:focus-within {
@include gl-opacity-10; @include gl-opacity-10;
} }
} }
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