Merge pull request #2168 from DarthShmev/patch-2
Fix Two Factor Authentication Buttons colour and sizing. Closes #2167
This commit is contained in:
commit
be1888f8eb
|
@ -57,7 +57,10 @@ export default ({ ...props }: RequiredModalProps) => {
|
||||||
autoFocus
|
autoFocus
|
||||||
/>
|
/>
|
||||||
<div css={tw`mt-6 text-right`}>
|
<div css={tw`mt-6 text-right`}>
|
||||||
<Button disabled={!isValid}>
|
<Button
|
||||||
|
color={'red'}
|
||||||
|
disabled={!isValid}
|
||||||
|
>
|
||||||
Disable Two-Factor
|
Disable Two-Factor
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -91,7 +91,7 @@ export default ({ onDismissed, ...props }: RequiredModalProps) => {
|
||||||
{recoveryTokens.map(token => <code key={token} css={tw`block mb-1`}>{token}</code>)}
|
{recoveryTokens.map(token => <code key={token} css={tw`block mb-1`}>{token}</code>)}
|
||||||
</pre>
|
</pre>
|
||||||
<div css={tw`text-right`}>
|
<div css={tw`text-right`}>
|
||||||
<Button css={tw`mt-6`} size={'large'} onClick={dismiss}>
|
<Button css={tw`mt-6`} onClick={dismiss}>
|
||||||
Close
|
Close
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue