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

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

Issue 1013173003: [Icons NTP] Make Local NTP render largeIconUrl instead of thumbnail, if available. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/resources/local_ntp/most_visited_thumbnail.js » ('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 52eb41597910e2ac1fc08a4c7e8c5a7170c14143..ec4a704c36e08a2587b61c4de950a8d68641ef9d 100644
--- a/chrome/browser/resources/local_ntp/most_visited_thumbnail.css
+++ b/chrome/browser/resources/local_ntp/most_visited_thumbnail.css
@@ -35,8 +35,20 @@ span.blocker {
width: 100%;
}
-img {
+img.thumbnail {
height: auto;
min-height: 100%;
width: 100%;
}
+
+img.large-icon {
+ height: 48px;
+ left: 50%;
+ margin-left: -24px;
+ margin-top: -24px;
+ min-height: initial;
+ position: absolute;
+ top: 50%;
+ vertical-align: middle;
+ width: 48px;
+}
« no previous file with comments | « no previous file | chrome/browser/resources/local_ntp/most_visited_thumbnail.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698