]> 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)
committerXhmikosR <xhmikosr@gmail.com>
Fri, 8 Jan 2021 10:04:37 +0000 (12:04 +0200)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
site/assets/scss/_clipboard-js.scss

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