Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5695)

Unified Diff: chrome/browser/resources/local_ntp/most_visited_thumbnail.css

Issue 564973003: [Local NTP] Fixing thumbnail aspect ratio, and store taller thumbnails. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Stretch thumbnail if too short. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/thumbnails/thumbnail_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/local_ntp/most_visited_thumbnail.css
diff --git a/chrome/browser/resources/local_ntp/most_visited_thumbnail.css b/chrome/browser/resources/local_ntp/most_visited_thumbnail.css
index abe5dd05ec923e6ad4c264912a6c59e872875f0e..52eb41597910e2ac1fc08a4c7e8c5a7170c14143 100644
--- a/chrome/browser/resources/local_ntp/most_visited_thumbnail.css
+++ b/chrome/browser/resources/local_ntp/most_visited_thumbnail.css
@@ -36,6 +36,7 @@ span.blocker {
}
img {
- height: 100%;
+ height: auto;
+ min-height: 100%;
width: 100%;
}
« no previous file with comments | « no previous file | chrome/browser/thumbnails/thumbnail_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698