]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Docs: style clipboard button on `:focus`, not just `:hover` (#32461)
authorPatrick H. Lauke <redux@splintered.co.uk>
Tue, 15 Dec 2020 07:43:12 +0000 (07:43 +0000)
committerGitHub <noreply@github.com>
Tue, 15 Dec 2020 07:43:12 +0000 (09:43 +0200)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
site/assets/scss/_clipboard-js.scss

index 12be4037c334faaf32c495250995eb0dbb5a8769..83b9a8b9e5042fc46f25a18da0cc508ff75219b0 100644 (file)
@@ -29,7 +29,8 @@
   border: 1px solid;
   @include border-radius();
 
-  &:hover {
+  &:hover,
+  &:focus {
     color: $white;
     background-color: $primary;
   }