From 5b621e1bb50e06c580f3c69ca832ab00a696217f Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Tue, 8 Mar 2016 08:41:01 +0000 Subject: Snippet visibility badge spacing Closes #14074 --- app/assets/stylesheets/pages/snippets.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/assets/stylesheets/pages/snippets.scss') diff --git a/app/assets/stylesheets/pages/snippets.scss b/app/assets/stylesheets/pages/snippets.scss index 0161642d871..7d414ae003d 100644 --- a/app/assets/stylesheets/pages/snippets.scss +++ b/app/assets/stylesheets/pages/snippets.scss @@ -26,5 +26,5 @@ margin-right: 10px; font-size: $gl-font-size; border: 1px solid; - line-height: 40px; + line-height: 32px; } -- cgit v1.2.1 From 704f46837627df405d2ffcf0bd9b74faf8f72f86 Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Thu, 10 Mar 2016 13:34:31 +0000 Subject: Replaced hidden div for textarea off-the screen Element with the content being copied cant be hidden so instead i\'ve moved it off the screen --- app/assets/stylesheets/pages/snippets.scss | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'app/assets/stylesheets/pages/snippets.scss') diff --git a/app/assets/stylesheets/pages/snippets.scss b/app/assets/stylesheets/pages/snippets.scss index 7d414ae003d..639d639d5b0 100644 --- a/app/assets/stylesheets/pages/snippets.scss +++ b/app/assets/stylesheets/pages/snippets.scss @@ -28,3 +28,11 @@ border: 1px solid; line-height: 32px; } + +.markdown-snippet-copy { + position: fixed; + top: -10px; + left: -10px; + max-height: 0; + max-width: 0; +} -- cgit v1.2.1