Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lzeiml committed Feb 27, 2025
1 parent e108e52 commit 5c73cb7
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions packages/core/src/components/checkbox/checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
h,
Element,
Method,
Fragment,
} from '@stencil/core';
import { HookValidationLifecycle, IxFormComponent } from '../utils/input';
import { makeRef } from '../utils/make-ref';
Expand Down Expand Up @@ -143,17 +144,16 @@ export class Checkbox implements IxFormComponent<string> {
xmlns="http://www.w3.org/2000/svg"
>
{this.indeterminate && (
<rect width="18" height="18" fill="transparent" />
)}

{this.indeterminate && (
<rect
x="3"
y="8"
width="12"
height="2"
fill="var(--ix-checkbox-check-color)"
/>
<Fragment>
<rect width="18" height="18" fill="transparent" />
<rect
x="3"
y="8"
width="12"
height="2"
fill="var(--ix-checkbox-check-color)"
/>
</Fragment>
)}

{this.checked && (
Expand Down

0 comments on commit 5c73cb7

Please sign in to comment.