Skip to content

Commit

Permalink
fix(community-modal): #403 fixed heading text overlap with close icon
Browse files Browse the repository at this point in the history
  • Loading branch information
manjitsingh88 authored and jraff committed Jan 15, 2021
1 parent 36ed2d0 commit 0765d0d
Show file tree
Hide file tree
Showing 3 changed files with 317 additions and 251 deletions.
5 changes: 3 additions & 2 deletions packages/Modal/Modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
ModalWrapper,
PaddingOverride,
OutlineButton,
StyledBox,
} from './styles'

const FocusTrap = withFocusTrap('div')
Expand Down Expand Up @@ -112,12 +113,12 @@ const Modal = ({
<StyledModal ref={modalRef}>
<ModalWrapper>
<Box inset={5}>
<Box between={3}>
<StyledBox between={3}>
<div ref={header} tabIndex="-1">
{modalHeading}
</div>
{description}
</Box>
</StyledBox>
{confirmCTAText && (
<PaddingOverride>
<Box vertical={4}>
Expand Down
Loading

0 comments on commit 0765d0d

Please sign in to comment.