Skip to content

Commit 33d500c

Browse files
MDE/PKFE-31 update button icon color on disabled
1 parent 523657e commit 33d500c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/front-end/src/features/editor/components/toolbarView/toolbarGroupItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const ToolbarGroupItem: React.FC<ToolbarGroupItemProps> = ({ icon: Icon,
4242
return (
4343
<Box sx={{ height: '40%', alignContent: 'center' }}>
4444
<Button
45-
startIcon={<Icon sx={{ color: Theme.palette.text.primary }} />}
45+
startIcon={<Icon sx={{ color: blocked ? Theme.palette.action.disabled : Theme.palette.text.primary }} />}
4646
disabled={blocked}
4747
onClick={() => onClick()}
4848
sx={{

0 commit comments

Comments
 (0)