Skip to content

Commit e2f2683

Browse files
authored
[Rating] Fix text alignment inheritance (#20055)
1 parent c5f4a86 commit e2f2683

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/material-ui-lab/src/Rating/Rating.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export const styles = theme => ({
3838
fontSize: theme.typography.pxToRem(24),
3939
color: '#ffb400',
4040
cursor: 'pointer',
41+
textAlign: 'left',
4142
WebkitTapHighlightColor: 'transparent',
4243
'&$disabled': {
4344
opacity: 0.5,

0 commit comments

Comments
 (0)