]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix copy button in docs appearing over an open top bar dropdown
authorGeoff Kimball <geoff@zurb.com>
Fri, 20 Nov 2015 17:32:22 +0000 (09:32 -0800)
committerGeoff Kimball <geoff@zurb.com>
Fri, 20 Nov 2015 17:32:22 +0000 (09:32 -0800)
docs/assets/scss/_code.scss
docs/assets/scss/_topbar.scss

index 3532897cb3aa6874550d801838d7bcdb635829ce..d4faa335920136152134a510096766f2688b6576 100644 (file)
   font-weight: bold;
 }
 
+.global-zeroclipboard-container {
+  z-index: auto !important;
+}
+
 // github.com style for highlight.js
 // Created by Vasily Polovnyov <vast@whiteants.net>
 .hljs {
index 1eae7871e1a6f7730884da4a4d82dd28569cdc61..4964be111c902ec900a41139c1888ba9c914a78b 100644 (file)
@@ -5,6 +5,8 @@ $topbar-hover-color: darken($topbar-background, 20%);
   background: $topbar-background;
   font-size: rem-calc(13);
   font-weight: bold;
+  z-index: 2;
+  position: relative;
 
   @include clearfix;