Skip to content

Commit

Permalink
polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Nov 9, 2019
1 parent f6e4e7c commit 13e11a2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs/src/modules/components/DiamondSponsors.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export default function DiamondSponsors() {
{t('diamondSponsors')}
</Typography>
<a
aria-label={t('diamondSponsors')}
className={classes.placeholder}
rel="noopener noreferrer"
target="_blank"
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/components/rating/HoverRating.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function IconContainer(props) {
const { value, ...other } = props;
return (
<Tooltip title={labels[value] || ''}>
<div {...other} />
<span {...other} />
</Tooltip>
);
}
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/components/rating/HoverRating.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function IconContainer(props: IconContainerProps) {
const { value, ...other } = props;
return (
<Tooltip title={labels[value] || ''}>
<div {...other} />
<span {...other} />
</Tooltip>
);
}
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/components/rating/SimpleRating.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function SimpleRating() {
</Box>
<Box component="fieldset" mb={3} borderColor="transparent">
<Typography component="legend">Read only</Typography>
<Rating value={value} readOnly />
<Rating name="read-only" value={value} readOnly />
</Box>
<Box component="fieldset" mb={3} borderColor="transparent">
<Typography component="legend">Disabled</Typography>
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/components/rating/SimpleRating.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function SimpleRating() {
</Box>
<Box component="fieldset" mb={3} borderColor="transparent">
<Typography component="legend">Read only</Typography>
<Rating value={value} readOnly />
<Rating name="read-only" value={value} readOnly />
</Box>
<Box component="fieldset" mb={3} borderColor="transparent">
<Typography component="legend">Disabled</Typography>
Expand Down
1 change: 1 addition & 0 deletions packages/material-ui-lab/src/Rating/Rating.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export const styles = theme => ({
clip: 'rect(0 0 0 0)',
height: 1,
margin: -1,
color: '#000',
overflow: 'hidden',
padding: 0,
position: 'absolute',
Expand Down

0 comments on commit 13e11a2

Please sign in to comment.