Skip to content

Commit

Permalink
Fixed weight issue
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelpande committed Mar 14, 2024
1 parent ddad250 commit 859e166
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@
}

.label {
margin-top: 12px;
margin-top: 13px;
margin-bottom: 8px;
font-family: PxWeb-font-400;
letter-spacing: 0em;
}
.strong {
font-family: PxWeb-font-700;
margin-top: 13px;
}
4 changes: 1 addition & 3 deletions libs/pxweb2-ui/src/lib/components/Checkbox/Checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ export const Checkbox: React.FC<CheckboxProps> = ({
{value && <Icon iconName="CheckMark"></Icon>}
</span>
<div className={styles.label} id={id + '-label'}>
<Label>
<span className={cl({ [styles.strong]: strong })}>{text}</span>
</Label>
<span className={cl({ [styles.strong]: strong })}>{text}</span>
</div>
</div>
);
Expand Down

0 comments on commit 859e166

Please sign in to comment.