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

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

Issue 1061163003: [New Tab Page] Reset default parameters for NTP title.html, adding param for multiline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adapting style to local file. Created 5 years, 8 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_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 d79a7f841b3109450acacc4c6822ababc816bba7..0723a04879c2034830003ede04ce17866e41cdfd 100644
--- a/chrome/browser/resources/local_ntp/most_visited_single.css
+++ b/chrome/browser/resources/local_ntp/most_visited_single.css
@@ -142,6 +142,11 @@ a:visited {
text-overflow: clip;
}
+.mv-title.multiline {
+ white-space: pre-wrap;
+ word-wrap: break-word;
+}
+
.thumb-ntp .mv-title {
-webkit-mask-image:
linear-gradient(to right, #000, #000, 100px, transparent);
@@ -180,7 +185,6 @@ html[dir=rtl] .thumb-ntp .mv-title[style*='direction: rtl'] {
right: auto;
text-align: center;
top: 76px;
- white-space: pre-wrap;
width: 100%;
z-index: 5;
}

Powered by Google App Engine
This is Rietveld 408576698