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

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

Issue 1029583003: [Icons NTP] Make Fast Local NTP render largeIconUrl instead of thumbnail, if available. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: A bit of renaming to reduce ambiguity. 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_single.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_single.css
diff --git a/chrome/browser/resources/local_ntp/most_visited_single.css b/chrome/browser/resources/local_ntp/most_visited_single.css
index 381cf7a3193445559ca657509f8fa050a4d951e6..f2701bcfdc8dc33ffdd0e47d6344aded68d68202 100644
--- a/chrome/browser/resources/local_ntp/most_visited_single.css
+++ b/chrome/browser/resources/local_ntp/most_visited_single.css
@@ -151,13 +151,24 @@ html[dir=rtl] .mv-title[style*='direction: rtl'] {
width: 148px;
}
-.mv-thumb img {
+.mv-thumb img.thumbnail {
height: auto;
min-height: 100%;
width: 100%;
}
-.mv-thumb.failed-img {
+.mv-thumb img.large-icon {
+ height: 48px;
+ left: 50%;
+ margin-left: -24px;
+ margin-top: -24px;
+ position: absolute;
+ top: 50%;
+ width: 48px;
+}
+
+.mv-thumb.failed-img,
+.mv-thumb.large-icon-outer {
background-color: #fff;
height: 94px;
width: 148px;
« no previous file with comments | « no previous file | chrome/browser/resources/local_ntp/most_visited_single.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698