Changeset 194232 in webkit
- Timestamp:
- Dec 17, 2015, 2:13:45 PM (11 years ago)
- Location:
- trunk/Websites/perf.webkit.org
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
public/v3/pages/dashboard-page.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Websites/perf.webkit.org/ChangeLog
r194220 r194232 1 2015-12-17 Ryosuke Niwa <rniwa@webkit.org> 2 3 Dashboard charts should have uniform widths on v3 UI 4 https://bugs.webkit.org/show_bug.cgi?id=152395 5 6 Reviewed by Chris Dumez. 7 8 Fix the bug by applying table-layout: fixed on the dashboard table. 9 10 * public/v3/pages/dashboard-page.js: 11 (DashboardPage.prototype.render): Added header-column as a class name to explicitly set the header column with. 12 (DashboardPage.cssTemplate): Adjusted CSS accordingly. 13 1 14 2015-12-17 Ryosuke Niwa <rniwa@webkit.org> 2 15 -
trunk/Websites/perf.webkit.org/public/v3/pages/dashboard-page.js
r194172 r194232 93 93 for (var group of this._tableGroups) { 94 94 tree.push(element('thead', element('tr', 95 group[0].map(function (cell) { return element('td', cell.content || cell); })))); 95 group[0].map(function (cell, cellIndex) { 96 if (!cellIndex) 97 return element('th', {class: 'heading-column'}); 98 return element('td', cell.content || cell); 99 })))); 96 100 97 101 tree.push(element('tbody', group.slice(1).map(function (row) { … … 165 169 { 166 170 return ` 171 .dashboard-table { 172 table-layout: fixed; 173 } 167 174 .dashboard-table td, 168 175 .dashboard-table th { … … 183 190 width: 2rem; 184 191 position: relative; 192 } 193 .dashboard-table .heading-column { 194 width: 2rem; 195 height: 1rem; 185 196 } 186 197 .dashboard-table th .vertical-label {
Note:
See TracChangeset
for help on using the changeset viewer.