Skip to content

Commit

Permalink
Increase MFA unpairing message font size (#489)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarosenb authored Nov 25, 2024
1 parent 3514f13 commit 3d35537
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions libs/tup-components/src/mfa/Mfa.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ label.qr-code-alt-label {
.mfa-message {
width: max-content;
}

.mfa-unpair-message {
font-size: var(--global-font-size--medium)
}

/* HACK: Position .mfa-message at the bottom and "outside" of the panels */
.pairing-container *:not(:only-child) .mfa-message {
Expand Down
4 changes: 3 additions & 1 deletion libs/tup-components/src/mfa/MfaUnpairingView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ const MfaUnpairingView: React.FC = () => {
</form>

{!sendChallengeSuccess && !unpairCode && (
<p className={styles['mfa-message']}>
<p
className={`${styles['mfa-message']} ${styles['mfa-unpair-message']}`}
>
Alternatively,{' '}
<Button type="link" onClick={() => unpairWithEmail(null)}>
unpair via email
Expand Down

0 comments on commit 3d35537

Please sign in to comment.