]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
proper fix for #18439 w/ clippy placement and hover
authorMark Otto <markdotto@gmail.com>
Tue, 8 Dec 2015 05:35:00 +0000 (21:35 -0800)
committerMark Otto <markdotto@gmail.com>
Tue, 8 Dec 2015 05:35:00 +0000 (21:35 -0800)
docs/assets/scss/_clipboard-js.scss

index 81bd69317f740ded577f742b60f24213cb15729a..22abfbd653405448e5a98b0256c7c87d543fb413 100644 (file)
@@ -6,6 +6,10 @@
   position: relative;
   display: none;
   float: right;
+
+  + .highlight {
+    margin-top: 0;
+  }
 }
 
 .btn-clipboard {
   cursor: pointer;
   background-color: transparent;
   border-radius: .25rem;
-}
 
-.btn-clipboard-hover {
-  color: #fff;
-  background-color: #027de7;
+  &:hover {
+    color: #fff;
+    background-color: #027de7;
+  }
 }
 
 @media (min-width: 768px) {