Skip to content

Commit

Permalink
Fix unchecked style
Browse files Browse the repository at this point in the history
  • Loading branch information
Anboias committed Nov 15, 2024
1 parent bed0c4a commit 80a5f77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/tooltip/tooltip-checklist.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
}
}

.checked {
.unchecked {
color: $color-gray-200;
}
2 changes: 1 addition & 1 deletion src/components/tooltip/tooltip-checklist.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const TooltipChecklist = ({ children, items }: Props) => {
const content = (
<ul className={styles.tooltipChecklist}>
{items.map((item, i) => (
<li key={i} className={classNames(styles.checklistItem, { [styles.checked]: item.checked })}>
<li key={i} className={classNames(styles.checklistItem, { [styles.unchecked]: !item.checked })}>
<img
src={item.checked ? images.checkboxFilled : images.checkboxEmpty}
alt={item.checked ? 'checked' : 'unchecked'}
Expand Down

0 comments on commit 80a5f77

Please sign in to comment.