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

Side by Side Diff: chrome/browser/resources/print_preview/print_preview_page.html

Issue 786023002: Remove hard-coded font families in WebUI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the presubmit warnings. Created 6 years 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 <!doctype html> 1 <!doctype html>
2 <head> 2 <head>
3 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
3 <style> 4 <style>
4 body { 5 body {
5 margin: 0px; 6 margin: 0px;
6 width: 0px; 7 width: 0px;
7 } 8 }
8 .row { 9 .row {
9 display: table-row; 10 display: table-row;
10 vertical-align: inherit; 11 vertical-align: inherit;
11 } 12 }
12 #header, #footer { 13 #header, #footer {
13 display: table; 14 display: table;
14 table-layout:fixed; 15 table-layout:fixed;
15 width: inherit; 16 width: inherit;
16 } 17 }
17 #header { 18 #header {
18 vertical-align: top; 19 vertical-align: top;
19 } 20 }
20 #footer { 21 #footer {
21 vertical-align: bottom; 22 vertical-align: bottom;
22 } 23 }
23 .text { 24 .text {
24 display: table-cell; 25 display: table-cell;
25 font-family: sans-serif;
26 font-size: 8px; 26 font-size: 8px;
27 vertical-align: inherit; 27 vertical-align: inherit;
28 white-space: nowrap; 28 white-space: nowrap;
29 } 29 }
30 #page_number { 30 #page_number {
31 text-align: right; 31 text-align: right;
32 } 32 }
33 #title { 33 #title {
34 text-align: center; 34 text-align: center;
35 } 35 }
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 <div id="content"> 108 <div id="content">
109 </div> 109 </div>
110 <div id="footer"> 110 <div id="footer">
111 <div class="row"> 111 <div class="row">
112 <div id="url" class="text"><span/></div> 112 <div id="url" class="text"><span/></div>
113 <div id="page_number" class="text"><span/></div> 113 <div id="page_number" class="text"><span/></div>
114 </div> 114 </div>
115 </div> 115 </div>
116 </body> 116 </body>
117 </html> 117 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698