From 4797ea142e94671a4be39f41e2b9eb8748a8b816 Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Jan 29 2016 08:31:22 +0000 Subject: [PATCH 1/2] made the image fit properly in comment body also added a bit of outline styling to make it pretty --- diff --git a/pagure/static/pagure.css b/pagure/static/pagure.css index bba2b7d..cfb47ae 100644 --- a/pagure/static/pagure.css +++ b/pagure/static/pagure.css @@ -433,3 +433,9 @@ a.notblue { display: block; background-color: #DBFFDB; } + +.comment_body .comment_text img { + max-width: 100%; + border: 5px solid #fff; + box-shadow: 0 0 5px #999; +} From 196715cf3877388bc293f0dbc0114d1e7ee21778 Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Jan 29 2016 08:31:22 +0000 Subject: [PATCH 2/2] made the image also fit on the comment 0 --- diff --git a/pagure/static/pagure.css b/pagure/static/pagure.css index cfb47ae..0f28c75 100644 --- a/pagure/static/pagure.css +++ b/pagure/static/pagure.css @@ -434,7 +434,7 @@ a.notblue { background-color: #DBFFDB; } -.comment_body .comment_text img { +.comment_body img { max-width: 100%; border: 5px solid #fff; box-shadow: 0 0 5px #999;