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

Unified Diff: chrome/browser/resources/local_ntp/most_visited_title.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_title.css
diff --git a/chrome/browser/resources/local_ntp/most_visited_title.css b/chrome/browser/resources/local_ntp/most_visited_title.css
index 817c47f5a3898a75a7f9261df83733d013dc0025..41e1b06e23eff9235822b283193d5013012c91f0 100644
--- a/chrome/browser/resources/local_ntp/most_visited_title.css
+++ b/chrome/browser/resources/local_ntp/most_visited_title.css
@@ -15,8 +15,14 @@ a {
line-height: 117%;
overflow: hidden;
text-align: center; /* Can be overridden in JS. */
- text-overflow: clip; /* Can be overridden in JS. */
- white-space: pre-wrap; /* Can be overridden in JS. */
+ text-overflow: ellipsis; /* Can be overridden in JS. */
+ white-space: nowrap; /* Can be overridden in JS. */
+}
+
+a.multiline {
+ text-overflow: clip;
+ white-space: pre-wrap;
+ word-wrap: break-word;
}
a:focus {

Powered by Google App Engine
This is Rietveld 408576698