From 7bf9d7a29525879fac0fa69f60301d5c74fbc832 Mon Sep 17 00:00:00 2001 From: HF Date: Wed, 17 Mar 2021 19:58:04 +0100 Subject: [PATCH] change alert and captcha styling --- src/components/Alert.jsx | 21 ++++++++++----------- src/components/Captcha.jsx | 1 - 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/src/components/Alert.jsx b/src/components/Alert.jsx index f1b3d1b..4daf950 100644 --- a/src/components/Alert.jsx +++ b/src/components/Alert.jsx @@ -37,19 +37,18 @@ const Alert = () => { return ( (render || alertOpen) && ( -
+
+
evt.stopPropagation()} + style={{ + zIndex: 5, + }} >

{alertTitle}

diff --git a/src/components/Captcha.jsx b/src/components/Captcha.jsx index 59dc29e..9cda285 100644 --- a/src/components/Captcha.jsx +++ b/src/components/Captcha.jsx @@ -55,7 +55,6 @@ const Captcha = ({ callback, close }) => { placeholder={t`I am human`} type="text" value={text} - autoFocus autoComplete="off" style={{ width: '5em' }} onChange={(evt) => {