Skip to content

Commit

Permalink
fix: cv-checkbox wrong wrapper class/jump scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnixon committed Mar 9, 2024
1 parent 52a8c5d commit 8b032ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/CvCheckbox/CvCheckbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
<div
class="cv-checkbox"
:class="[
`${carbonPrefix}--checkbox--${inline ? 'inline' : 'wrapper'}`,
{ [`${carbonPrefix}--form-item`]: formItem },
{ [`${carbonPrefix}--checkbox--inline`]: inline },
{ [`${carbonPrefix}--checkbox-wrapper`]: !inline },
]"
>
<input
Expand Down

0 comments on commit 8b032ab

Please sign in to comment.