Skip to content

Commit 2713681

Browse files
committed
feat: add classText prop to Copyable component for improved styling in backup key step
1 parent c445fff commit 2713681

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/views/NewSettings/components/Sections/Account/Security/components/TwoFactorAuthenticationEnableModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const TwoFactorAuthenticationEnableModal = ({
8383

8484
const backupKeyStep = (
8585
<div className="py-5">
86-
{qr && <Copyable className="mx-auto w-60" text={qr.key} />}
86+
{qr && <Copyable className="mx-auto w-60" classText="select-text truncate" text={qr.key} />}
8787
<div className="mt-2 flex items-center">
8888
<Warning size={24} className="text-yellow" style={{ marginLeft: '83px' }} weight="fill" />
8989
<p className="ml-2 w-64 text-sm text-gray-60">

0 commit comments

Comments
 (0)