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

Side by Side Diff: chrome/browser/resources/cleanup_tool/toolbar.html

Issue 2784653004: Cleanup Tool WebUI: Add HTML content and styling with dummy JS (Closed)
Patch Set: Fix broken i18n commands Created 3 years, 8 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
OLDNEW
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698