Skip to content

Commit

Permalink
fix(community-modal): #403 fix for text overlap with close icon
Browse files Browse the repository at this point in the history
  • Loading branch information
manjitsingh88 committed Jan 15, 2021
2 parents edee409 + 7f68b8f commit 8ecdc06
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion packages/Modal/Modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const Modal = ({
</StyledBox>
{confirmCTAText && (
<PaddingOverride>
<Box vertical={5}>
<Box vertical={4}>
<CTAWrapper cancelCTAExists={cancelCTAText}>
<Button onClick={onConfirm}>{confirmCTAText}</Button>
{cancelCTAText && (
Expand Down
22 changes: 11 additions & 11 deletions packages/Modal/__tests__/__snapshots__/Modal.spec.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -318,15 +318,15 @@ exports[`Modal renders 1`] = `
@media (max-width:767px) {
.c9 {
padding-top: 2rem;
padding-bottom: 2rem;
padding-top: 1.5rem;
padding-bottom: 1.5rem;
}
}
@media (min-width:768px) {
.c9 {
padding-top: 3rem;
padding-bottom: 3rem;
padding-top: 2rem;
padding-bottom: 2rem;
}
}
Expand Down Expand Up @@ -768,15 +768,15 @@ exports[`Modal renders 1`] = `
@media (max-width:767px) {
.c9 {
padding-top: 2rem;
padding-bottom: 2rem;
padding-top: 1.5rem;
padding-bottom: 1.5rem;
}
}
@media (min-width:768px) {
.c9 {
padding-top: 3rem;
padding-bottom: 3rem;
padding-top: 2rem;
padding-bottom: 2rem;
}
}
Expand Down Expand Up @@ -1407,12 +1407,12 @@ exports[`Modal renders 1`] = `
<Box
inline={false}
tag="div"
vertical={5}
vertical={4}
>
<styled.div
inline={false}
tag="div"
vertical={5}
vertical={4}
>
<StyledComponent
forwardedComponent={
Expand Down Expand Up @@ -1446,7 +1446,7 @@ exports[`Modal renders 1`] = `
forwardedRef={null}
inline={false}
tag="div"
vertical={5}
vertical={4}
>
<div
className="c9"
Expand Down

0 comments on commit 8ecdc06

Please sign in to comment.