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

Side by Side Diff: dashboard/dashboard/elements/chart-title.html

Issue 2994153002: Fix dashboard chart-title layout. (Closed)
Patch Set: Created 3 years, 4 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 | 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> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright 2016 The Chromium Authors. All rights reserved. 3 Copyright 2016 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 7
8 <dom-module id="chart-title"> 8 <dom-module id="chart-title">
9 <template> 9 <template>
10 <style> 10 <style>
(...skipping 14 matching lines...) Expand all
25 } 25 }
26 paper-button { 26 paper-button {
27 color: white; 27 color: white;
28 font-weight: bold; 28 font-weight: bold;
29 min-width: initial; 29 min-width: initial;
30 padding: 5px; 30 padding: 5px;
31 margin: 0; 31 margin: 0;
32 background: #4285f4; 32 background: #4285f4;
33 font-size: 18px; 33 font-size: 18px;
34 } 34 }
35 #container {
36 white-space: nowrap;
37 }
35 h3 { 38 h3 {
36 display: inline-block; 39 display: inline-block;
40 white-space: initial;
37 } 41 }
38 </style> 42 </style>
39 43
40 <paper-button raised on-click="populateTestPicker_" 44 <div id="container">
41 title="Populate test picker"> 45 <paper-button raised on-click="populateTestPicker_"
42 &#8632; 46 title="Populate test picker">
43 </paper-button> 47 &#8632;
48 </paper-button>
44 49
45 <h3> 50 <h3>
46 <template is="dom-repeat" items="{{titleParts}}"> 51 <template is="dom-repeat" items="{{titleParts}}">
47 <a class="title disabled" href="javascript:void(0);" 52 <a class="title disabled" href="javascript:void(0);"
48 on-click="onClicked" disabled$="{{computeStrictEqual(index, currentIn dex)}}" 53 on-click="onClicked" disabled$="{{computeStrictEqual(index, currentI ndex)}}"
49 class="title"> 54 class="title">
50 {{item}} 55 {{item}}
51 </a> 56 </a>
52 <span hidden$="{{computeIsLast(index, titleParts)}}">/</span> 57 <span hidden$="{{computeIsLast(index, titleParts)}}">/</span>
53 </template> 58 </template>
54 </h3> 59 </h3>
60 </div>
61
55 <div> 62 <div>
56 <template is="dom-repeat" items="{{suiteDescriptions}}" as="info"> 63 <template is="dom-repeat" items="{{suiteDescriptions}}" as="info">
57 <div><b>{{info.suite}}</b>: {{info.description}}</div> 64 <div><b>{{info.suite}}</b>: {{info.description}}</div>
58 </template> 65 </template>
59 </div> 66 </div>
60 67
61 </template> 68 </template>
62 <script> 69 <script>
63 'use strict'; 70 'use strict';
64 Polymer({ 71 Polymer({
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 if (arrays[i][prefixLength] != value) { 246 if (arrays[i][prefixLength] != value) {
240 return arrays[0].slice(0, prefixLength); 247 return arrays[0].slice(0, prefixLength);
241 } 248 }
242 } 249 }
243 } 250 }
244 return arrays[0].slice(0, shortestLength); 251 return arrays[0].slice(0, shortestLength);
245 } 252 }
246 }); 253 });
247 </script> 254 </script>
248 </dom-module> 255 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698