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

Side by Side 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 unified diff | Download patch
OLDNEW
1 /* Copyright 2013 The Chromium Authors. All rights reserved. 1 /* Copyright 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 html { 4 html {
5 height: 100%; 5 height: 100%;
6 } 6 }
7 7
8 body { 8 body {
9 height: 100%; 9 height: 100%;
10 width: 100%; 10 width: 100%;
11 } 11 }
12 12
13 a { 13 a {
14 height: 100%; 14 height: 100%;
15 line-height: 117%; 15 line-height: 117%;
16 overflow: hidden; 16 overflow: hidden;
17 text-align: center; /* Can be overridden in JS. */ 17 text-align: center; /* Can be overridden in JS. */
18 text-overflow: clip; /* Can be overridden in JS. */ 18 text-overflow: ellipsis; /* Can be overridden in JS. */
19 white-space: pre-wrap; /* Can be overridden in JS. */ 19 white-space: nowrap; /* Can be overridden in JS. */
20 }
21
22 a.multiline {
23 text-overflow: clip;
24 white-space: pre-wrap;
25 word-wrap: break-word;
20 } 26 }
21 27
22 a:focus { 28 a:focus {
23 outline: none; /* Remove outline from tabIndex = -1. */ 29 outline: none; /* Remove outline from tabIndex = -1. */
24 } 30 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698