From: Geoff Kimball Date: Fri, 20 Nov 2015 17:32:22 +0000 (-0800) Subject: Fix copy button in docs appearing over an open top bar dropdown X-Git-Tag: v6.0.2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9f828e13810b1eeeca5649e4c17dafd8b0a926b;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fix copy button in docs appearing over an open top bar dropdown --- diff --git a/docs/assets/scss/_code.scss b/docs/assets/scss/_code.scss index 3532897cb..d4faa3359 100644 --- a/docs/assets/scss/_code.scss +++ b/docs/assets/scss/_code.scss @@ -77,6 +77,10 @@ font-weight: bold; } +.global-zeroclipboard-container { + z-index: auto !important; +} + // github.com style for highlight.js // Created by Vasily Polovnyov .hljs { diff --git a/docs/assets/scss/_topbar.scss b/docs/assets/scss/_topbar.scss index 1eae7871e..4964be111 100644 --- a/docs/assets/scss/_topbar.scss +++ b/docs/assets/scss/_topbar.scss @@ -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;