mirror of
https://github.com/coder/coder.git
synced 2026-11-09 15:42:57 +08:00
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:
@@ -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",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user