Skip to content

Commit

Permalink
added (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
d3rpp authored Nov 20, 2024
1 parent 0fc586f commit 21027d6
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions src/routes/(app)/app/account/create_key_dialog.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import { Button, buttonVariants } from "@/ui/button";
import InlineCodeBlock from "@/inline-codeblock.svelte";
import { Plus } from "lucide-svelte";
import { Plus, X } from "lucide-svelte";
import AnimatedLoading from "$lib/icons/AnimatedLoading.svelte";
import {
Expand Down Expand Up @@ -153,7 +153,22 @@
</AlertDialog.Trigger>
<AlertDialog.Content>
<AlertDialog.Header>
<AlertDialog.Title>Create Key</AlertDialog.Title>
<AlertDialog.Title
class="flex w-full flex-row items-center justify-between"
>
Create Key
<Button
variant="ghost"
size="icon"
class="rounded-full"
onmouseup={() => {
open = false;
resetDialog();
}}
>
<X />
</Button>
</AlertDialog.Title>
</AlertDialog.Header>
<Tabs.Root value={tabs_value}>
<Tabs.Content value="create">
Expand Down

0 comments on commit 21027d6

Please sign in to comment.