Bug 1347619 - Change boxmodel.css to use calc(50% - 1px) instead of 49.5%. r?gl draft
authorStanford Lockhart <lockhart@cs.dal.ca>
Thu, 16 Mar 2017 18:39:53 -0300
changeset 500252 dc95b7fdb2cc
parent 499512 ff04d410e74b
child 549581 8f47a1455176
push id49660
push userbmo:lockhart@cs.dal.ca
push dateThu, 16 Mar 2017 21:42:02 +0000
reviewersgl
bugs1347619
milestone55.0a1
Bug 1347619 - Change boxmodel.css to use calc(50% - 1px) instead of 49.5%. r?gl MozReview-Commit-ID: 1CA5WgfKNL7
devtools/client/themes/boxmodel.css
--- a/devtools/client/themes/boxmodel.css
+++ b/devtools/client/themes/boxmodel.css
@@ -229,25 +229,25 @@
 
 .boxmodel-position {
   color: var(--theme-highlight-purple);
 }
 
 .boxmodel-position.boxmodel-top,
 .boxmodel-position.boxmodel-bottom {
   border-left: 1px solid var(--theme-highlight-purple);
-  left: 49.5%;
+  left: calc(50% - 1px);
   padding-left: 1px;
 }
 
 .boxmodel-position.boxmodel-right,
 .boxmodel-position.boxmodel-left {
   border-top: 1px solid var(--theme-highlight-purple);
   line-height: 15px;
-  top: 49.5%;
+  top: calc(50% - 1px);
   width: 30px;
 }
 
 .boxmodel-position.boxmodel-top {
   top: -18px;
 }
 
 .boxmodel-position.boxmodel-right {