From 1ca069f17e8611895bc55b4102b99fc54b26b80c Mon Sep 17 00:00:00 2001 From: ccd0 Date: Wed, 11 Mar 2015 16:02:03 -0700 Subject: [PATCH] Website: Fix focus outline on screenshot link. --- template.jst | 2 +- web.css | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/template.jst b/template.jst index ce76983fb..8c587593a 100644 --- a/template.jst +++ b/template.jst @@ -15,7 +15,7 @@ Report Bugs -screenshot +screenshot preview <%= content diff --git a/web.css b/web.css index b29c0320a..8af3b827c 100644 --- a/web.css +++ b/web.css @@ -28,14 +28,16 @@ h1 { background-color: #CCC; font-weight: bold; } -img.screenshot { +a.screenshot { display: block; margin: auto; +} +a.screenshot > img { width: 640px; max-width: 100%; } @media (min-width: 1120px) { - img.screenshot { + a.screenshot { float: right; margin: 0 0 1em 1em; }