Skip to content

Commit

Permalink
Fix the CSS selector for restoring a focus state to the Fab
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Nov 30, 2023
1 parent c938312 commit 346c7f9
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/components/WorkspaceAddButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,8 @@ export class WorkspaceAddButton extends Component {
: ((useExtendedFab && t('startHere')) || t('addResource'))
}
sx={{
'.MuiFab-primary': {
'&:focus': {
backgroundColor: 'primary.dark',
},
},
'.MuiFab-secondary': {
'&:focus': {
backgroundColor: 'secondary.dark',
},
'&:focus': {
backgroundColor: 'primary.dark',
},
margin: 1,
}}
Expand Down

0 comments on commit 346c7f9

Please sign in to comment.