From 743aaf610040e73168055ebaba3086d3f2d057c7 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 25 Oct 2014 22:39:01 -0700 Subject: fix clipboard button and examples --- docs/assets/css/src/docs.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'docs/assets/css/src/docs.css') diff --git a/docs/assets/css/src/docs.css b/docs/assets/css/src/docs.css index 377005b1c..428a54321 100644 --- a/docs/assets/css/src/docs.css +++ b/docs/assets/css/src/docs.css @@ -882,7 +882,8 @@ h1[id] { } /* Tweak display of the code snippets when following an example */ -.bs-example + .highlight { +.bs-example + .highlight, +.bs-example + .zero-clipboard + .highlight { margin: -15px -15px 15px; border-width: 0 0 1px; border-radius: 0; @@ -900,7 +901,8 @@ h1[id] { -webkit-box-shadow: none; box-shadow: none; } - .bs-example + .highlight { + .bs-example + .highlight, + .bs-example + .zero-clipboard + .highlight { margin-top: -16px; margin-right: 0; margin-left: 0; @@ -1521,6 +1523,10 @@ h1[id] { .zero-clipboard { display: block; } + .bs-example + .zero-clipboard .btn-clipboard { + top: -16px; + border-top-right-radius: 0; + } } -- cgit v1.2.3