change alert and captcha styling

This commit is contained in:
HF 2021-03-17 19:58:04 +01:00
parent af90a83198
commit 7bf9d7a295
2 changed files with 10 additions and 12 deletions

View File

@ -37,19 +37,18 @@ const Alert = () => {
return (
(render || alertOpen) && (
<div
className={(alertOpen && render) ? 'Overlay show' : 'Overlay'}
onTransitionEnd={onTransitionEnd}
role="button"
tabIndex={-1}
onClick={close}
style={{
zIndex: 5,
}}
>
<div>
<div
className={(alertOpen && render) ? 'Overlay show' : 'Overlay'}
onTransitionEnd={onTransitionEnd}
tabIndex={-1}
onClick={close}
/>
<div
className="Alert"
onClick={(evt) => evt.stopPropagation()}
style={{
zIndex: 5,
}}
>
<h2>{alertTitle}</h2>
<p className="modaltext">

View File

@ -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) => {