diff --git a/packages/react-captcha/src/Captcha.tsx b/packages/react-captcha/src/Captcha.tsx index 87f5401..d145ef4 100644 --- a/packages/react-captcha/src/Captcha.tsx +++ b/packages/react-captcha/src/Captcha.tsx @@ -12,6 +12,14 @@ export interface CaptchaState { attempt: number } +const flex = { + display: 'flex', +} + +const flexItemRight = { + marginLeft: 'auto', +} + export class Captcha extends React.PureComponent { state: CaptchaState = { type: 'image', @@ -37,26 +45,38 @@ export class Captcha extends React.PureComponent {
{type === 'image' && ( <> - - - Refresh - - {this.props.audioUrl && ( - - Click here for audio version + +
+ + Refresh + + {this.props.audioUrl && ( + + Audio version - )} + )} +
)} {type === 'audio' && ( <> -