From 71b7d29b561e0c8a2b69b6f7fe01b4efda7ff975 Mon Sep 17 00:00:00 2001 From: Herman Schaaf Date: Mon, 30 May 2016 21:03:03 +0800 Subject: [PATCH] Add tweet button Closes #122 --- assets/goreportcard.css | 6 +++++- templates/report.html | 13 ++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/assets/goreportcard.css b/assets/goreportcard.css index f347674..0e28379 100644 --- a/assets/goreportcard.css +++ b/assets/goreportcard.css @@ -59,6 +59,10 @@ margin-top: 10px; cursor: pointer; } +.results-text .badge-col .tweet-button { + margin-top: 10px; + height: 20px; +} .menu-block.is-active { font-weight: bold; background: #f0f0f0; @@ -95,7 +99,7 @@ } #badge_dropdown { position: absolute; - top: 32px; + top: 40px; right: 0; width: 100%; max-width: 400px; diff --git a/templates/report.html b/templates/report.html index 9eb5db7..e794a7a 100644 --- a/templates/report.html +++ b/templates/report.html @@ -6,6 +6,7 @@ Go Report Card | Go project code quality report cards +