Skip to content

Commit 57277e8

Browse files
committed
fix: checkbox style
1 parent 91dec45 commit 57277e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/carbon/src/CheckboxWidget/CheckboxWidget.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default function CheckboxWidget<
5151
const _onFocus = ({ target: { value } }: FocusEvent<HTMLInputElement | any>) => onFocus(id, value);
5252

5353
return (
54-
<>
54+
<div>
5555
<style>
5656
{`
5757
.checkbox.cds--checkbox-wrapper--invalid>.cds--checkbox__validation-msg {
@@ -83,6 +83,6 @@ export default function CheckboxWidget<
8383
registry={registry}
8484
/>
8585
)}
86-
</>
86+
</div>
8787
);
8888
}

0 commit comments

Comments
 (0)