Changeset 204518 in webkit
- Timestamp:
- Aug 16, 2016 12:25:57 PM (8 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r204513 r204518 1 2016-08-16 Nikita Vasilyev <nvasilyev@apple.com> 2 3 Web Inspector: Data grid has a double left border when the first column is hidden 4 https://bugs.webkit.org/show_bug.cgi?id=160723 5 <rdar://problem/27778081> 6 7 Reviewed by Timothy Hatcher. 8 9 This patch exploits the fact hiding columns that aren't first in DataGrid don't create double 10 borders. 11 12 * UserInterface/Views/DataGrid.css: 13 (.data-grid table.header,): 14 (.data-grid :matches(th, td):first-child): 15 (@media (-webkit-min-device-pixel-ratio: 2)): 16 * UserInterface/Views/SourceCodeTextEditor.js: 17 (WebInspector.SourceCodeTextEditor.prototype._setTypeTokenAnnotatorEnabledState): 18 1 19 2016-08-16 Joseph Pecoraro <pecoraro@apple.com> 2 20 -
trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.css
r201540 r204518 332 332 transform: translateX(-2.5px); 333 333 } 334 335 .data-grid table.header, 336 .data-grid table.data { 337 /* Hide right border from first hidden columns. */ 338 width: calc(100% + 1px); 339 margin-left: -1px; 340 } 341 342 .data-grid :matches(th, td):first-child { 343 border-left: 1px solid transparent; 344 } 345 346 @media (-webkit-min-device-pixel-ratio: 2) { 347 .data-grid table.header, 348 .data-grid table.data { 349 width: calc(100% + 0.5px); 350 margin-left: -0.5px; 351 } 352 353 .data-grid :matches(th, td):first-child { 354 border-width: 0.5px; 355 } 356 }
Note: See TracChangeset
for help on using the changeset viewer.