File tree Expand file tree Collapse file tree
cogboard-webapp/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,17 +56,19 @@ export const PopoverWithControls = ({
5656 < StyledPopoverHeader >
5757 { SERVICE_CHECK_RESPONSES . expected }
5858 </ StyledPopoverHeader >
59- { expectedResponseBody }
59+ < p > { expectedResponseBody } </ p >
6060 </ StyledPopoverText >
6161 < StyledPopoverText >
6262 < StyledPopoverHeader >
6363 { SERVICE_CHECK_RESPONSES . received }
6464 </ StyledPopoverHeader >
65- { body }
65+ < p > { body } </ p >
6666 </ StyledPopoverText >
6767 </ StyledPopoverTextWrapper >
6868 ) : (
69- < StyledPopoverText > { body } </ StyledPopoverText >
69+ < StyledPopoverText >
70+ < p > { body } </ p >
71+ </ StyledPopoverText >
7072 ) }
7173 </ Popover >
7274 </ >
Original file line number Diff line number Diff line change @@ -132,6 +132,10 @@ export const StyledPopoverText = styled.div`
132132 background: ${ COLORS . WHITE } ;
133133 color: ${ COLORS . BLACK } ;
134134 padding: 1rem;
135+
136+ p {
137+ word-break: break-word;
138+ }
135139` ;
136140
137141export const StyledPopoverHeader = styled ( Typography ) `
You can’t perform that action at this time.
0 commit comments