We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59b9a80 commit a1be028Copy full SHA for a1be028
1 file changed
builder-frontend/src/components/project/preview/Results.tsx
@@ -22,15 +22,16 @@ export default function Results(
22
<>
23
<div class="text-md font-semibold text-gray-600">Inputs</div>
24
<div class="p-2">
25
- <div class="flex flex-col">
+ <table class="bg-gray-200 p-3 rounded-md">
26
<For each={Object.entries(inputData())}>
27
{([key, value]) => (
28
- <div class="flex text-md text-gray-700">
29
- <span class="font-medium capitalize">{key}: {value?.toString() || "--"}</span>
30
- </div>
+ <tr class="text-md text-gray-700">
+ <td class="px-3 py-2 font-mono font-bold">{key}:</td>
+ <td class="px-3 py-2 font-mono">{value?.toString() || "--"}</td>
31
+ </tr>
32
)}
33
</For>
34
+ </table>
35
</div>
36
</>
37
0 commit comments