diff --git a/src/components/Breakdown.jsx b/src/components/Breakdown.jsx index 2f4b94ecf..42b037f7e 100644 --- a/src/components/Breakdown.jsx +++ b/src/components/Breakdown.jsx @@ -52,14 +52,20 @@ const BreakdownItem = ({ return ( - {methodIcon} - {children} - - {info && ( - {info} - )} - {secondary && {secondary}} - +
+ + {methodIcon} + {children} + + + {info && ( + + {info} + + )} + {secondary && {secondary}} + +
diff --git a/src/components/Modal.jsx b/src/components/Modal.jsx index 7daa04d0a..bc0f6c46f 100644 --- a/src/components/Modal.jsx +++ b/src/components/Modal.jsx @@ -8,7 +8,7 @@ const sizes = { small: "max-w-100", // 400px medium: "max-w-125", // 500px large: "max-w-150", // 600px - huge: "max-w-200", // 800px + huge: "max-w-[900px]", // 900px }; const positions = { diff --git a/src/stories/Other/Breakdown.stories.js b/src/stories/Other/Breakdown.stories.js index c1c8fbcf5..d99ab98c7 100644 --- a/src/stories/Other/Breakdown.stories.js +++ b/src/stories/Other/Breakdown.stories.js @@ -22,7 +22,7 @@ export const Default = () => { Line item caption - Children + Very long really Children Adults @@ -46,12 +46,12 @@ export const Default = () => { Payment - }> + }> Return Payment } value={0} methodIcon={}> - This is a really long message that should wrap somehow + This is a really long message that should wrap somehow more long } value={0} methodIcon={}>