mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-28 22:00:51 +00:00
Merge pull request #1610 from Pallavikumarimdb/fix/QR-code-issue-on-dark-themes
Set the QR code background to white in dark mode.
This commit is contained in:
@@ -476,7 +476,9 @@ export default function CreateShareLinkForm({
|
||||
</p>
|
||||
|
||||
<div className="h-[250px] w-full mx-auto flex items-center justify-center">
|
||||
<div className="bg-white p-6 border rounded-md">
|
||||
<QRCodeCanvas value={link} size={200} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<Collapsible
|
||||
|
||||
@@ -230,7 +230,9 @@ const TwoFactorSetupForm = forwardRef<
|
||||
<div className="space-y-4">
|
||||
<p>{t("otpSetupScanQr")}</p>
|
||||
<div className="h-[250px] mx-auto flex items-center justify-center">
|
||||
<div className="bg-white p-6 border rounded-md">
|
||||
<QRCodeCanvas value={secretUri} size={200} />
|
||||
</div>
|
||||
</div>
|
||||
<div className="max-w-md mx-auto">
|
||||
<CopyTextBox text={secretUri} wrapText={false} />
|
||||
|
||||
Reference in New Issue
Block a user