Skip to content

Commit a1be028

Browse files
feat: Updated Inputs display on the Preview Screen to be more readable.
1 parent 59b9a80 commit a1be028

File tree

1 file changed

+6
-5
lines changed
  • builder-frontend/src/components/project/preview

1 file changed

+6
-5
lines changed

builder-frontend/src/components/project/preview/Results.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,16 @@ export default function Results(
2222
<>
2323
<div class="text-md font-semibold text-gray-600">Inputs</div>
2424
<div class="p-2">
25-
<div class="flex flex-col">
25+
<table class="bg-gray-200 p-3 rounded-md">
2626
<For each={Object.entries(inputData())}>
2727
{([key, value]) => (
28-
<div class="flex text-md text-gray-700">
29-
<span class="font-medium capitalize">{key}: {value?.toString() || "--"}</span>
30-
</div>
28+
<tr class="text-md text-gray-700">
29+
<td class="px-3 py-2 font-mono font-bold">{key}:</td>
30+
<td class="px-3 py-2 font-mono">{value?.toString() || "--"}</td>
31+
</tr>
3132
)}
3233
</For>
33-
</div>
34+
</table>
3435
</div>
3536
</>
3637
)}

0 commit comments

Comments
 (0)