mirror of
https://github.com/handsomezhuzhu/2fa-tool.git
synced 2026-02-20 11:43:19 +00:00
feat: adjust settings layout in advanced config popup
Display "Algorithm" and "Captcha Length" side by side for compact layout. Co-authored-by: Simon <85533298+handsomezhuzhu@users.noreply.github.com>
This commit is contained in:
@@ -798,7 +798,7 @@ export default function TwoFactorAuth() {
|
||||
{t.addToken}
|
||||
</Button>
|
||||
</DialogTrigger>
|
||||
<DialogContent className="max-w-md max-h-[85vh] overflow-y-auto">
|
||||
<DialogContent className="max-w-md">
|
||||
<DialogHeader>
|
||||
<DialogTitle>{t.addNewToken}</DialogTitle>
|
||||
<DialogDescription>{t.addNewTokenDesc}</DialogDescription>
|
||||
@@ -864,6 +864,7 @@ export default function TwoFactorAuth() {
|
||||
|
||||
{showAdvanced && (
|
||||
<div className="mt-4 space-y-4">
|
||||
<div className="grid grid-cols-2 gap-4">
|
||||
<div className="space-y-2">
|
||||
<Label>{t.algorithm}</Label>
|
||||
<Select
|
||||
@@ -899,6 +900,7 @@ export default function TwoFactorAuth() {
|
||||
</SelectContent>
|
||||
</Select>
|
||||
</div>
|
||||
</div>
|
||||
<div className="space-y-2">
|
||||
<Label>{t.period}</Label>
|
||||
<Input
|
||||
|
||||
Reference in New Issue
Block a user