mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-02 00:36:38 +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>
|
</p>
|
||||||
|
|
||||||
<div className="h-[250px] w-full mx-auto flex items-center justify-center">
|
<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} />
|
<QRCodeCanvas value={link} size={200} />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Collapsible
|
<Collapsible
|
||||||
|
|||||||
@@ -230,7 +230,9 @@ const TwoFactorSetupForm = forwardRef<
|
|||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
<p>{t("otpSetupScanQr")}</p>
|
<p>{t("otpSetupScanQr")}</p>
|
||||||
<div className="h-[250px] mx-auto flex items-center justify-center">
|
<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} />
|
<QRCodeCanvas value={secretUri} size={200} />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="max-w-md mx-auto">
|
<div className="max-w-md mx-auto">
|
||||||
<CopyTextBox text={secretUri} wrapText={false} />
|
<CopyTextBox text={secretUri} wrapText={false} />
|
||||||
|
|||||||
Reference in New Issue
Block a user