mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-04 04:30:06 +00:00
fix: Fix login provider button gap (#94)
* fix: oauth2_providers button gap * fix: remove test code
This commit is contained in:
@@ -117,13 +117,13 @@ function Login() {
|
||||
</section>
|
||||
)}
|
||||
</Form>
|
||||
<div className="mt-3 flex flex-col space-y-2">
|
||||
<div className="mt-3 flex flex-col gap-3">
|
||||
{settingData?.config?.oauth2_providers?.map((p: string) => (
|
||||
<Button
|
||||
className="w-full rounded-lg shadow-[inset_0_1px_0_rgba(255,255,255,0.2)] bg-muted text-primary hover:bg-muted/80 hover:text-primary/80 mb-3"
|
||||
className="w-full rounded-lg shadow-[inset_0_1px_0_rgba(255,255,255,0.2)] bg-muted text-primary hover:bg-muted/80 hover:text-primary/80"
|
||||
onClick={() => loginWith(p)}
|
||||
>
|
||||
{p === "GitHub" && <GitHubIcon className="-mt-[1px] size-4" />}
|
||||
{p === "GitHub" && <GitHubIcon className="size-4" />}
|
||||
{p}
|
||||
</Button>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user