OLD | NEW |
---|---|
(Empty) | |
1 <link rel="import" href="chrome://resources/html/assert.html"> | |
2 <link rel="import" href="chrome://resources/html/cr.html"> | |
3 <link rel="import" href="chrome://resources/html/polymer.html"> | |
4 | |
5 <dom-module id="cleanup-tool-toolbar"> | |
6 <template> | |
7 <style> | |
8 :host { | |
9 align-items: center; | |
10 background: var(--md-toolbar-color); | |
11 color: white; | |
12 display: flex; | |
13 min-height: 56px; | |
14 } | |
15 | |
16 #page-title { | |
17 font-size: 16px; | |
Dan Beam
2017/04/04 00:00:00
can you use %, em, or rem instead of px for font-s
proberge
2017/04/04 16:10:04
Done.
| |
18 overflow: hidden; | |
19 padding-left: 18px; | |
Dan Beam
2017/04/04 00:00:00
-left doesn't work in RTL, can you use -webkit-pad
proberge
2017/04/04 16:10:03
Good catch, thanks!
| |
20 white-space: nowrap; | |
21 } | |
22 </style> | |
23 <div id="page-title" i18n-content="title"></div> | |
Dan Beam
2017/04/04 00:00:00
can you just use <div id="page-title">$i18n{title}
proberge
2017/04/04 16:10:06
Done.
| |
24 </template> | |
25 <script src="chrome://cleanup/toolbar.js"></script> | |
26 </dom-module> | |
OLD | NEW |