Bug 1190113 - Summary: [ruleview] Clicking on the left of checkbox should change its state, not creating new rule r=pbro
authorAriel Burone <aburone@gmail.com>
Wed, 10 Oct 2018 13:11:05 +0000
changeset 488886 8efb5f963758e3f8309f91b5d0dfbc04bcb8dd80
parent 488885 a0692c2178be55092e57c14ed982e43351dccba9
child 488887 a51437b15d79175ea811bb8f72ce7747e8acf7eb
push id246
push userfmarier@mozilla.com
push dateSat, 13 Oct 2018 00:15:40 +0000
reviewerspbro
bugs1190113
milestone64.0a1
Bug 1190113 - Summary: [ruleview] Clicking on the left of checkbox should change its state, not creating new rule r=pbro Differential Revision: https://phabricator.services.mozilla.com/D8201
devtools/client/themes/rules.css
--- a/devtools/client/themes/rules.css
+++ b/devtools/client/themes/rules.css
@@ -146,17 +146,17 @@
 }
 
 .ruleview-expandable-container {
   display: block;
 }
 
 .ruleview-namecontainer {
   cursor: text;
-  margin-left: -25px;
+  margin-left: -35px;
 }
 
 .ruleview-computed > .ruleview-namecontainer {
   margin: 0;
 }
 
 .ruleview-propertyvaluecontainer {
   cursor: text;
@@ -310,17 +310,20 @@
   list-style: none;
   padding: 0;
   margin: 0;
 }
 
 .ruleview-enableproperty {
   position: relative;
   float: left;
-  left: -28px;
+  left: -38px;
+  box-sizing: content-box;
+  border-left: 10px solid transparent;
+  background-clip: content-box;
 }
 
 .ruleview-warning {
   background-image: url(images/alerticon-warning.png);
   background-size: 13px 12px;
   margin-inline-start: 5px;
   display: inline-block;
   width: 13px;