Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: pages/blog/index.md

Issue 29657629: Issue 6211 - Fixed size of blog post thumbnails on mobile (Closed) Base URL: https://hg.adblockplus.org/web.acceptableads.com
Patch Set: Addressed #5 Created Jan. 9, 2018, 2:22 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « includes/blog/all-posts.tmpl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pages/blog/index.md
===================================================================
--- a/pages/blog/index.md
+++ b/pages/blog/index.md
@@ -2,28 +2,32 @@
description=Keeping you up-to-date with everything related to acceptable ads.
breadcrumb=Blog
custom=1
<style>
.card h3
{
font-size: 20px;
- height: 70px;
+}
+
+.card img
+{
+ display: block;
+ height: auto;
+ max-height: 200px;
+ width: auto;
+ max-width: 100%;
+ margin: 0 auto;
}
@media(min-width: 768px)
{
- .card img.block
- {
- width: auto !important;
- height: auto;
- max-height: 100px;
- margin: 0 auto;
- }
+ .card h3 { height: 70px; }
ire 2018/01/10 10:08:39 Why is this here? (This height doesn't actually co
juliandoucette 2018/01/11 12:43:56 I knew this would come back to bite me :D This is
ire 2018/01/12 12:44:46 Haha ack. I don't think it is particularly helpful
+ .card img { max-height: 100px; }
}
</style>
<div class="container" markdown="1">
# {{blog-heading[Blog Heading] The official Acceptable Ads blog}}
---
« no previous file with comments | « includes/blog/all-posts.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld