mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:21:09 +02:00
fix: Docker build failures for mana-media and inventar-web
- mana-media: strip workspace devDep before bun install (shared-drizzle-config is only needed for drizzle-kit, not at runtime) - inventar-web: replace nested <button> with <div role="button"> to fix Svelte 5 HTML validation error during build Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
dffb5eb9dc
commit
df19d3acc4
2 changed files with 9 additions and 4 deletions
|
|
@ -179,9 +179,12 @@
|
|||
<!-- Grid View -->
|
||||
<div class="grid gap-4 sm:grid-cols-2 lg:grid-cols-3">
|
||||
{#each sortedItems as item (item.id)}
|
||||
<button
|
||||
<div
|
||||
onclick={() => goto(`/items/${item.id}`)}
|
||||
class="item-card group rounded-xl border border-[hsl(var(--border))] bg-[hsl(var(--card))] p-4 text-left"
|
||||
onkeydown={(e) => e.key === 'Enter' && goto(`/items/${item.id}`)}
|
||||
role="button"
|
||||
tabindex="0"
|
||||
class="item-card group cursor-pointer rounded-xl border border-[hsl(var(--border))] bg-[hsl(var(--card))] p-4 text-left"
|
||||
>
|
||||
<div class="flex items-start justify-between">
|
||||
<h3 class="font-semibold text-[hsl(var(--foreground))]">{item.name}</h3>
|
||||
|
|
@ -205,7 +208,7 @@
|
|||
>
|
||||
{$_('common.delete')}
|
||||
</button>
|
||||
</button>
|
||||
</div>
|
||||
{/each}
|
||||
</div>
|
||||
{:else if viewStore.viewMode === 'table'}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue