Skip to content

Commit afee2ed

Browse files
committed
Updated CSS classes to allow easier styling.
1 parent a278500 commit afee2ed

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

code/NestedCheckboxsetField.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,8 @@ public function Field($properties = array()) {
129129

130130
return $this->customise($properties)->renderWith($this->getTemplates());
131131
}
132+
133+
public function Type() {
134+
return 'optionset checkboxset nestedcheckboxset';
135+
}
132136
}

css/NestedCheckboxSetField.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#right form .CheckboxSetField ul { margin: 0; padding: 0; }
2-
#right form .CheckboxSetField ul li { list-style: none !important; margin: 0; padding: 0; }
3-
#right form .CheckboxSetField input { width: auto; }
1+
#right form .nestedcheckboxsetfield ul { margin: 0; padding: 0; }
2+
#right form .nestedcheckboxsetfield ul li { list-style: none !important; margin: 0; padding: 0; }
3+
#right form .nestedcheckboxsetfield input { width: auto; }

0 commit comments

Comments
 (0)