Skip to content

Commit

Permalink
[core] Use outlined: 0 over none
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Nov 15, 2019
1 parent 34290d7 commit a5dc985
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const StyledButton = styled.button`
padding: 8px 12px;
border: 1px solid;
cursor: pointer;
outline: none;
outline: 0;
border-radius: ${theme.shape.borderRadius}px;
color: ${theme.palette.primary.contrastText};
background-color: ${theme.palette.primary.main};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const StyledButton = styled.button`
padding: 8px 12px;
border: 1px solid;
cursor: pointer;
outline: none;
outline: 0;
border-radius: ${theme.shape.borderRadius}px;
color: ${theme.palette.primary.contrastText};
background-color: ${theme.palette.primary.main};
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-benchmark/src/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ align-items: center;
justify-content: center;
position: relative;
background-color: transparent;
outline: none;
outline: 0;
border: 0;
margin: 0;
border-radius: 0;
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-lab/src/Autocomplete/Autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const styles = theme => ({
alignItems: 'center',
cursor: 'pointer',
paddingTop: 6,
outline: 'none',
outline: '0',
// Remove grey highlight
WebkitTapHighlightColor: 'transparent',
paddingBottom: 6,
Expand Down

0 comments on commit a5dc985

Please sign in to comment.