Style improvement of radio form elements
authorJoan <joan@calbasi.net>
Tue, 28 Aug 2018 12:39:46 +0000 (14:39 +0200)
committerGitHub <noreply@github.com>
Tue, 28 Aug 2018 12:39:46 +0000 (14:39 +0200)
Radio inputs are too close to their labels, I think this simple improvement would be useful, as commented here:
https://lab.civicrm.org/dev/core/issues/355

css/civicrm.css

index a89e60458bc8eaaa5fa9c89f714df2eaeebbd787..b95743b6f8cf10074d63df7077e466aa366ce747 100644 (file)
@@ -19,6 +19,10 @@ div.crm-container fieldset label{
   float: none;
 }
 
+input.crm-form-radio + label, input.crm-form-checkbox + label{
+  margin-left: 7px;
+}
+
 .crm-container .crm-quickSearchField {
   font-weight: normal;
 }