-
{lineCount} line{lineCount !== 1 ? "s" : ""}
+
+
+ {lineCount} line{lineCount !== 1 ? "s" : ""}
- {byteCount} byte{byteCount !== 1 ? "s" : ""}
+ {byteCount} byte{byteCount !== 1 ? "s" : ""}
@@ -134,6 +143,7 @@
{#if mode === "create"}
acting.did, (did) => (picked = did)}
label="Publish as"
disabled={publish.loading}
@@ -145,6 +155,7 @@
variant="primary"
icon={publish.loading ? Spinner : ArrowUp}
disabled={publish.loading}
+ insetShadow={true}
>
Publish
@@ -152,9 +163,7 @@
{#if publish.error}
-
-
-
+
{/if}
diff --git a/web/src/lib/components/ui/Card.svelte b/web/src/lib/components/ui/Card.svelte
index 1b585c78e..f83a031b9 100644
--- a/web/src/lib/components/ui/Card.svelte
+++ b/web/src/lib/components/ui/Card.svelte
@@ -21,8 +21,8 @@
false: ""
},
padding: {
- regular: "px-6 py-4",
- small: "p-4",
+ regular: "p-4",
+ small: "p-2",
none: ""
}
},
diff --git a/web/src/lib/components/ui/Dropdown.svelte b/web/src/lib/components/ui/Dropdown.svelte
index a33219c38..4b2cd668d 100644
--- a/web/src/lib/components/ui/Dropdown.svelte
+++ b/web/src/lib/components/ui/Dropdown.svelte
@@ -39,6 +39,7 @@
trigger: Snippet;
children: Snippet;
xOffset?: number;
+ title?: string;
}
// opening one dropdown in a group closes its siblings.
@@ -85,7 +86,8 @@
class: className,
trigger,
children,
- xOffset
+ xOffset,
+ title
}: DropdownProps = $props();
let open = $state(false);
@@ -182,7 +184,7 @@
});
-
+