Web Inspector: RTL: box model labels have bad alignment
authorbburg@apple.com <bburg@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 8 May 2017 23:41:14 +0000 (23:41 +0000)
committerbburg@apple.com <bburg@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 8 May 2017 23:41:14 +0000 (23:41 +0000)
commit19b488346d470fbe0f0c236bc0f9e94df0818d29
tree97efafce201a57adbd1f7258a8643745079f6795
parent3c33f90b3a735d72a03abc42a90f857d645608f2
Web Inspector: RTL: box model labels have bad alignment
https://bugs.webkit.org/show_bug.cgi?id=171817

Reviewed by Joseph Pecoraro.

* UserInterface/Views/BoxModelDetailsSectionRow.css:
(.details-section .row.box-model .label):
(body[dir=ltr] .details-section .row.box-model .label):
(body[dir=rtl] .details-section .row.box-model .label):
We can't just use a mirrored leading margin because all the
text here is center-aligned. Just hardcode a reasonable value.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@216465 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/BoxModelDetailsSectionRow.css