change alert and captcha styling
This commit is contained in:
parent
af90a83198
commit
7bf9d7a295
|
@ -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">
|
||||
|
|
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user