Skip to content

Commit

Permalink
Fix #2691: p-readonly to match theme styles (#2692)
Browse files Browse the repository at this point in the history
Co-authored-by: mertsincan <[email protected]>
  • Loading branch information
melloware and mertsincan authored Mar 29, 2022
1 parent 536d29f commit 89a935c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/lib/rating/Rating.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
cursor: pointer;
}

.p-rating.p-rating-readonly .p-rating-icon {
.p-rating.p-readonly .p-rating-icon {
cursor: default;
}
2 changes: 1 addition & 1 deletion components/lib/rating/Rating.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const Rating = memo(forwardRef((props, ref) => {

const className = classNames('p-rating', {
'p-disabled': props.disabled,
'p-rating-readonly': props.readOnly
'p-readonly': props.readOnly
}, props.className);
const cancelIcon = createCancelIcon();
const stars = createStars();
Expand Down
2 changes: 1 addition & 1 deletion components/lib/steps/Steps.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
text-decoration: none;
}

.p-steps.p-steps-readonly .p-steps-item {
.p-steps.p-readonly .p-steps-item {
cursor: auto;
}

Expand Down

0 comments on commit 89a935c

Please sign in to comment.