diff --git a/packages/frontend/src/lib/Card.svelte b/packages/frontend/src/lib/Card.svelte index 27dfc1c34..339e5186f 100644 --- a/packages/frontend/src/lib/Card.svelte +++ b/packages/frontend/src/lib/Card.svelte @@ -26,7 +26,7 @@ export let primaryBackground: string = 'bg-charcoal-800'; {/if} -
+
{#if title}
{title} diff --git a/packages/frontend/src/lib/RecipeCard.svelte b/packages/frontend/src/lib/RecipeCard.svelte index 9ea091d42..1d2165db3 100644 --- a/packages/frontend/src/lib/RecipeCard.svelte +++ b/packages/frontend/src/lib/RecipeCard.svelte @@ -22,8 +22,8 @@ $: localPath = findLocalRepositoryByRecipeId($localRepositories, recipe.id);
- {recipe.name} - {recipe.description} + {recipe.name} + {recipe.description}
@@ -34,7 +34,7 @@ $: localPath = findLocalRepositoryByRecipeId($localRepositories, recipe.id); {#if localPath}
+ class="bg-[var(--pd-label-bg)] text-[var(--pd-label-text)] max-w-full rounded-md p-2 mb-2 flex flex-row w-min h-min text-xs text-nowrap items-center"> {localPath.path} @@ -45,7 +45,7 @@ $: localPath = findLocalRepositoryByRecipeId($localRepositories, recipe.id);
-
+
{#if recipe.ref} {recipe.ref} {/if} @@ -53,7 +53,7 @@ $: localPath = findLocalRepositoryByRecipeId($localRepositories, recipe.id); {/if} - {loading ? 'Cloning...' : localRepository ? 'Recipe cloned' : 'Clone recipe'}