From 3eb35cc2e0b99e23cb77cd738a6cbe336d27aaa2 Mon Sep 17 00:00:00 2001 From: Johannes Klein Date: Mon, 30 Sep 2024 15:28:39 +0200 Subject: [PATCH] Update AlignmentCard.js --- src/app/AlignmentCard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/AlignmentCard.js b/src/app/AlignmentCard.js index 6225f91..cfe5b3f 100644 --- a/src/app/AlignmentCard.js +++ b/src/app/AlignmentCard.js @@ -29,10 +29,10 @@ import Box from '@mui/material/Box'; const InputSwitch = withStyles((theme) => ({ switchBase: { color: theme.palette.input.secondaryText, - '&$checked': { + '&.Mui-checked': { color: theme.palette.input.dark, }, - '&$checked + $track': { + '&.Mui-checked + .Mui-track': { backgroundColor: theme.palette.input.dark, }, },