Skip to content

Commit

Permalink
fix retreival tooltip overlays retreival modal (#20591)
Browse files Browse the repository at this point in the history
  • Loading branch information
gally47 authored Oct 2, 2024
1 parent 0a917fc commit 709b7ba
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@
*/
import React from 'react';
import PropTypes from 'prop-types';
import styled from 'styled-components';

import { Modal } from 'components/bootstrap';
import ModalSubmit from 'components/common/ModalSubmit';

const StyledModal = styled(Modal)`
z-index: 1070;
`;

type Props = {
show?: boolean,
onConfirm: (event) => void,
Expand Down Expand Up @@ -48,7 +53,7 @@ const ConfirmDialog = ({
const onHide = hideCancelButton ? onConfirm : onCancel;

return (
<Modal show={show} onHide={onHide}>
<StyledModal show={show} onHide={onHide}>
<Modal.Header closeButton>
<Modal.Title>{title}</Modal.Title>
</Modal.Header>
Expand All @@ -65,7 +70,7 @@ const ConfirmDialog = ({
submitButtonText={btnConfirmText}
displayCancel={!hideCancelButton as any} />
</Modal.Footer>
</Modal>
</StyledModal>
);
};

Expand Down

0 comments on commit 709b7ba

Please sign in to comment.