From 346c7f929e2cea0cb44ac43896d69a4e8872a9f8 Mon Sep 17 00:00:00 2001 From: Chris Beer Date: Thu, 30 Nov 2023 09:19:56 -0800 Subject: [PATCH] Fix the CSS selector for restoring a focus state to the Fab --- src/components/WorkspaceAddButton.js | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/components/WorkspaceAddButton.js b/src/components/WorkspaceAddButton.js index edbc3a037..cdaf3cdf3 100644 --- a/src/components/WorkspaceAddButton.js +++ b/src/components/WorkspaceAddButton.js @@ -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, }}