Updates PR with bjarnef's review comments

This commit is contained in:
Niels Hartvig
2017-06-23 11:50:34 +02:00
parent 5e2cb68299
commit 161fcc7f01
2 changed files with 3 additions and 2 deletions
@@ -90,7 +90,6 @@ body.packages {
height: auto; height: auto;
display: block; display: block;
vertical-align: middle; vertical-align: middle;
width: 50px;
@media (min-width: $md) { @media (min-width: $md) {
@@ -185,7 +185,9 @@
defaultScreenshot = childContent.GetPropertyValue("defaultScreenshotPath", false, "/css/img/package2.png"); defaultScreenshot = childContent.GetPropertyValue("defaultScreenshotPath", false, "/css/img/package2.png");
} }
} }
<img src="@Utils.GetScreenshotPath(defaultScreenshot)?bgcolor=fff&width=100&height=100&format=png" /> <img src="@Utils.GetScreenshotPath(defaultScreenshot)?bgcolor=fff&width=50&height=50&format=png"
srcset="@Utils.GetScreenshotPath(defaultScreenshot)?bgcolor=fff&width=100&height=100&format=png 2x,
@Utils.GetScreenshotPath(defaultScreenshot)?bgcolor=fff&width=150&height=150&format=png 3x" />
</div> </div>
<div class="col-xs-10 col-md-6"> <div class="col-xs-10 col-md-6">
<div class="forum-thread-text"> <div class="forum-thread-text">