Skip to content

Commit 53511a0

Browse files
authored
Merge pull request #1 from Hackception/stramel-patch-1
New: Add ability to hide checkbox label
2 parents 555dc95 + 4b94a1a commit 53511a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

paper-tristate-checkbox.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
`--paper-tristate-checkbox-checked-color` | Checkbox color when the input is checked | `--primary-color`
3737
`--paper-tristate-checkbox-checked-ink-color` | Selected/focus ripple color when the input is checked | `--primary-color`
3838
`--paper-tristate-checkbox-checkmark-color` | Checkmark color | `white`
39+
`--paper-tristate-checkbox-label-display` | Label display | `inline-block`
3940
`--paper-tristate-checkbox-label-color` | Label color | `--primary-text-color`
4041
`--paper-tristate-checkbox-label-spacing` | Spacing between the label and the checkbox | `8px`
4142
`--paper-tristate-checkbox-error-color` | Checkbox color when invalid | `--error-color`
@@ -212,7 +213,7 @@
212213
/* label */
213214
#checkboxLabel {
214215
position: relative;
215-
display: inline-block;
216+
display: var(--paper-tristate-checkbox-label-display, inline-block);
216217
vertical-align: middle;
217218
padding-left: var(--paper-tristate-checkbox-label-spacing, 8px);
218219
white-space: normal;

0 commit comments

Comments
 (0)