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

Side by Side Diff: chrome/browser/resources/md_downloads/vulcanized.html

Issue 1977993002: Give no-downloads a min-height to avoid overlapping the header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
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 | « chrome/browser/resources/md_downloads/manager.css ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html><html i18n-values="dir:textdirection;lang:language"><head><!-- 1 <!DOCTYPE html><html i18n-values="dir:textdirection;lang:language"><head><!--
2 @license 2 @license
3 Copyright (c) 2016 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also 7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 --><!-- 9 --><!--
10 @license 10 @license
(...skipping 2794 matching lines...) Expand 10 before | Expand all | Expand 10 after
2805 display: none; 2805 display: none;
2806 } 2806 }
2807 2807
2808 #no-downloads { 2808 #no-downloads {
2809 align-items: center; 2809 align-items: center;
2810 color: #b4b4b4; 2810 color: #b4b4b4;
2811 display: flex; 2811 display: flex;
2812 font-size: 123.1%; 2812 font-size: 123.1%;
2813 font-weight: 500; 2813 font-weight: 500;
2814 justify-content: center; 2814 justify-content: center;
2815 /* To avoid overlapping with the header, we need this min-height
2816 * until bug 596743 is fixed. */
2817 min-height: min-content;
2815 } 2818 }
2816 2819
2817 #no-downloads .illustration { 2820 #no-downloads .illustration {
2818 background: -webkit-image-set( 2821 background: -webkit-image-set(
2819 url("chrome://downloads/1x/no_downloads.png") 1x, 2822 url("chrome://downloads/1x/no_downloads.png") 1x,
2820 url("chrome://downloads/2x/no_downloads.png") 2x) no-repeat center center; 2823 url("chrome://downloads/2x/no_downloads.png") 2x) no-repeat center center;
2821 height: 144px; /* Matches natural image height. */ 2824 height: 144px; /* Matches natural image height. */
2822 margin-bottom: 32px; 2825 margin-bottom: 32px;
2823 } 2826 }
2824 2827
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
2866 <command id="undo-command" shortcut="Meta-U+005A"></command> 2869 <command id="undo-command" shortcut="Meta-U+005A"></command>
2867 <command id="find-command" shortcut="Meta-U+0046"></command> 2870 <command id="find-command" shortcut="Meta-U+0046"></command>
2868 </if> 2871 </if>
2869 <if expr="not is_macosx"> 2872 <if expr="not is_macosx">
2870 <command id="undo-command" shortcut="Ctrl-U+005A"></command> 2873 <command id="undo-command" shortcut="Ctrl-U+005A"></command>
2871 <command id="find-command" shortcut="Ctrl-U+0046"></command> 2874 <command id="find-command" shortcut="Ctrl-U+0046"></command>
2872 </if> 2875 </if>
2873 <link rel="import" href="chrome://resources/html/polymer.html"> 2876 <link rel="import" href="chrome://resources/html/polymer.html">
2874 2877
2875 <script src="crisper.js"></script></body></html> 2878 <script src="crisper.js"></script></body></html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_downloads/manager.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698