Skip to content

Commit

Permalink
Merge pull request #1 from Hackception/stramel-patch-1
Browse files Browse the repository at this point in the history
New: Add ability to hide checkbox label
  • Loading branch information
admwx7 authored Feb 10, 2017
2 parents 555dc95 + 4b94a1a commit 53511a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion paper-tristate-checkbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
`--paper-tristate-checkbox-checked-color` | Checkbox color when the input is checked | `--primary-color`
`--paper-tristate-checkbox-checked-ink-color` | Selected/focus ripple color when the input is checked | `--primary-color`
`--paper-tristate-checkbox-checkmark-color` | Checkmark color | `white`
`--paper-tristate-checkbox-label-display` | Label display | `inline-block`
`--paper-tristate-checkbox-label-color` | Label color | `--primary-text-color`
`--paper-tristate-checkbox-label-spacing` | Spacing between the label and the checkbox | `8px`
`--paper-tristate-checkbox-error-color` | Checkbox color when invalid | `--error-color`
Expand Down Expand Up @@ -212,7 +213,7 @@
/* label */
#checkboxLabel {
position: relative;
display: inline-block;
display: var(--paper-tristate-checkbox-label-display, inline-block);
vertical-align: middle;
padding-left: var(--paper-tristate-checkbox-label-spacing, 8px);
white-space: normal;
Expand Down

0 comments on commit 53511a0

Please sign in to comment.