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

Side by Side Diff: chrome/browser/resources/md_downloads/manager.css

Issue 1978613002: Give no-downloads a min-height to avoid overlapping the header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/resources/md_downloads/vulcanized.html » ('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 2015 The Chromium Authors. All rights reserved. 1 /* Copyright 2015 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 4
5 :host { 5 :host {
6 display: flex; 6 display: flex;
7 flex: 1 0; 7 flex: 1 0;
8 flex-direction: column; 8 flex-direction: column;
9 height: 100%; 9 height: 100%;
10 overflow-y: overlay; 10 overflow-y: overlay;
(...skipping 15 matching lines...) Expand all
26 display: none; 26 display: none;
27 } 27 }
28 28
29 #no-downloads { 29 #no-downloads {
30 align-items: center; 30 align-items: center;
31 color: #b4b4b4; 31 color: #b4b4b4;
32 display: flex; 32 display: flex;
33 font-size: 123.1%; 33 font-size: 123.1%;
34 font-weight: 500; 34 font-weight: 500;
35 justify-content: center; 35 justify-content: center;
36 /* To avoid overlapping with the header, we need this min-height
37 * until bug 596743 is fixed. */
38 min-height: min-content;
36 } 39 }
37 40
38 #no-downloads .illustration { 41 #no-downloads .illustration {
39 background: -webkit-image-set( 42 background: -webkit-image-set(
40 url(chrome://downloads/1x/no_downloads.png) 1x, 43 url(chrome://downloads/1x/no_downloads.png) 1x,
41 url(chrome://downloads/2x/no_downloads.png) 2x) no-repeat center center; 44 url(chrome://downloads/2x/no_downloads.png) 2x) no-repeat center center;
42 height: 144px; /* Matches natural image height. */ 45 height: 144px; /* Matches natural image height. */
43 margin-bottom: 32px; 46 margin-bottom: 32px;
44 } 47 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/md_downloads/vulcanized.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698