diff --git a/src/components/SharedComponents/RadioButtonRow.js b/src/components/SharedComponents/RadioButtonRow.js index 0cb76a43f..2b7e253e2 100644 --- a/src/components/SharedComponents/RadioButtonRow.js +++ b/src/components/SharedComponents/RadioButtonRow.js @@ -43,21 +43,28 @@ const RadioButtonRow = ( { return ( - + {/* RadioButton.Android has a built-in margin of 8, so we have to add a padding + of 4 to the left of the text container to match the design of distance of 12 between + button and text. Similarly we have to add a margin of 8 only to top in order to get + to the wanted 16. */} + + {/* Essentially this element has m-2 built-in */} - - - {icon && } + + + + {icon && } + + {description && ( + {description} + )} - {description && ( - {description} - )} ); };