Skip to content

Commit

Permalink
fix: rating style
Browse files Browse the repository at this point in the history
  • Loading branch information
enijar committed Nov 16, 2024
1 parent f5b0ffe commit 1d064b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/rating/rating.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const RatingWrapper = styled.div<Props>`
return Array.from(Array(MAX_RATING)).map((_, index) => {
const number = index + 1;
return css`
:nth-child(${number}) {
&:nth-child(${number}) {
opacity: ${number > props.$rating ? 0.25 : 1};
}
`;
Expand Down

0 comments on commit 1d064b3

Please sign in to comment.