mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-02 04:40:40 +08:00
fix: center align the dashboard delete modal (#4429)
This commit is contained in:
parent
fce7ab7d24
commit
253137a6b8
@ -0,0 +1,5 @@
|
|||||||
|
.delete-modal {
|
||||||
|
.ant-modal-confirm-body {
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
}
|
@ -1,3 +1,5 @@
|
|||||||
|
import './DeleteButton.styles.scss';
|
||||||
|
|
||||||
import { DeleteOutlined, ExclamationCircleOutlined } from '@ant-design/icons';
|
import { DeleteOutlined, ExclamationCircleOutlined } from '@ant-design/icons';
|
||||||
import { Modal, Tooltip, Typography } from 'antd';
|
import { Modal, Tooltip, Typography } from 'antd';
|
||||||
import { REACT_QUERY_KEY } from 'constants/reactQueryKeys';
|
import { REACT_QUERY_KEY } from 'constants/reactQueryKeys';
|
||||||
@ -64,6 +66,7 @@ function DeleteButton({
|
|||||||
okText: 'Delete',
|
okText: 'Delete',
|
||||||
okButtonProps: { danger: true },
|
okButtonProps: { danger: true },
|
||||||
centered: true,
|
centered: true,
|
||||||
|
className: 'delete-modal',
|
||||||
});
|
});
|
||||||
}, [modal, name, deleteDashboardMutation, notifications, t, queryClient]);
|
}, [modal, name, deleteDashboardMutation, notifications, t, queryClient]);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user