Index: chrome/browser/resources/local_ntp/most_visited_thumbnail.js |
diff --git a/chrome/browser/resources/local_ntp/most_visited_thumbnail.js b/chrome/browser/resources/local_ntp/most_visited_thumbnail.js |
index dd3f4fddf4e9bb2cde016784610a695ea3b12227..5c8401799ced11b7062874aa78b7ae375617fe04 100644 |
--- a/chrome/browser/resources/local_ntp/most_visited_thumbnail.js |
+++ b/chrome/browser/resources/local_ntp/most_visited_thumbnail.js |
@@ -30,6 +30,9 @@ window.addEventListener('DOMContentLoaded', function() { |
var link = createMostVisitedLink(params, data.url, data.title); |
link.appendChild(shadow); |
link.appendChild(image); |
+ // We add 'position: absolute' in anticipation that there could be more |
+ // than one thumbnail. This will superpose the elements. |
+ link.style.position = 'absolute'; |
document.body.appendChild(link); |
}; |
if (!isVisible) { |