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
|
||||
/>
|
||||
<div css={tw`mt-6 text-right`}>
|
||||
<Button disabled={!isValid}>
|
||||
<Button
|
||||
color={'red'}
|
||||
disabled={!isValid}
|
||||
>
|
||||
Disable Two-Factor
|
||||
</Button>
|
||||
</div>
|
||||
|
|
|
@ -91,7 +91,7 @@ export default ({ onDismissed, ...props }: RequiredModalProps) => {
|
|||
{recoveryTokens.map(token => <code key={token} css={tw`block mb-1`}>{token}</code>)}
|
||||
</pre>
|
||||
<div css={tw`text-right`}>
|
||||
<Button css={tw`mt-6`} size={'large'} onClick={dismiss}>
|
||||
<Button css={tw`mt-6`} onClick={dismiss}>
|
||||
Close
|
||||
</Button>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue