Isolate Cancel Button Menu Styling

This commit is contained in:
blessedcoolant
2023-02-19 13:23:04 +13:00
parent d42cc0fd1c
commit 8bf93d3a32
2 changed files with 14 additions and 5 deletions

View File

@@ -139,6 +139,15 @@ export default function CancelButton(
<IAISimpleMenu
menuItems={cancelMenuItems}
iconTooltip={t('parameters.cancel.setType')}
menuButtonProps={{
backgroundColor: 'var(--destructive-color)',
color: 'var(--text-color)',
minWidth: '1.5rem',
minHeight: '1.5rem',
_hover: {
backgroundColor: 'var(--destructive-color-hover)',
},
}}
/>
</ButtonGroup>
);