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

Side by Side Diff: chrome/browser/resources/local_ntp/most_visited_thumbnail.css

Issue 564973003: [Local NTP] Fixing thumbnail aspect ratio, and store taller thumbnails. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Stretch thumbnail if too short. 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/thumbnails/thumbnail_service_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 body { 4 body {
5 height: 100%; 5 height: 100%;
6 position: absolute; 6 position: absolute;
7 width: 100%; 7 width: 100%;
8 } 8 }
9 9
10 a { 10 a {
(...skipping 18 matching lines...) Expand all
29 } 29 }
30 30
31 span.blocker { 31 span.blocker {
32 display: inline-block; 32 display: inline-block;
33 height: 100%; 33 height: 100%;
34 position: absolute; 34 position: absolute;
35 width: 100%; 35 width: 100%;
36 } 36 }
37 37
38 img { 38 img {
39 height: 100%; 39 height: auto;
40 min-height: 100%;
40 width: 100%; 41 width: 100%;
41 } 42 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/thumbnails/thumbnail_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698