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

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

Issue 542033002: [Local NTP] block image-related context menu items for thumbnails; CSS fixes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync. 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
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 3a1a1ca9e39453fb4cdafee67282b14d5f6d63c6..abe5dd05ec923e6ad4c264912a6c59e872875f0e 100644
--- a/chrome/browser/resources/local_ntp/most_visited_thumbnail.css
+++ b/chrome/browser/resources/local_ntp/most_visited_thumbnail.css
@@ -9,6 +9,7 @@ body {
a {
height: 100%;
+ position: relative;
width: 100%;
}
@@ -27,6 +28,13 @@ div {
width: 90%;
}
+span.blocker {
+ display: inline-block;
+ height: 100%;
+ position: absolute;
+ width: 100%;
+}
+
img {
height: 100%;
width: 100%;
« no previous file with comments | « chrome/browser/resources/local_ntp/local_ntp.css ('k') | chrome/browser/resources/local_ntp/most_visited_thumbnail.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698