feat: Update UI for error dialog and snackbar (#1971)

* feat: update ui for error dialog and snackbar

* update padding for buttons
This commit is contained in:
Abhineet Jain
2022-06-02 11:23:52 -04:00
committed by GitHub
parent 47c7eda670
commit e09cd3e9cf
3 changed files with 15 additions and 12 deletions
+3 -3
View File
@@ -114,7 +114,7 @@ export const DialogActionButtons: React.FC<DialogActionButtonsProps> = ({
})}
disabled={confirmLoading}
onClick={onCancel}
variant="contained"
variant="outlined"
>
{cancelText}
</LoadingButton>
@@ -145,10 +145,10 @@ interface StyleProps {
const useButtonStyles = makeStyles((theme) => ({
dialogButton: {
borderRadius: 0,
borderRadius: theme.shape.borderRadius,
fontSize: theme.typography.h6.fontSize,
fontWeight: theme.typography.h5.fontWeight,
padding: theme.spacing(2.25),
padding: `${theme.spacing(0.75)}px ${theme.spacing(2)}px`,
width: "100%",
boxShadow: "none",
},