feat: entity dialog extract out

This commit is contained in:
2025-05-07 10:31:16 +01:00
parent 7d1498c3eb
commit ac4fd30b0a
5 changed files with 45 additions and 18 deletions

View File

@@ -8,7 +8,7 @@ type Props = {
export const ItemModal = (props: Props) => {
return (
<div class="fixed inset-2 rounded-2xl p-4 bg-white border border-neutral-300">
<div class="fixed z-10 inset-2 rounded-2xl p-4 bg-white border border-neutral-300">
<div class="flex justify-between">
<h1 class="text-2xl font-bold">{props.item.data.Name}</h1>
<button type="button" onClick={props.onClose}>