Skip to content

Commit 41caf77

Browse files
committed
feat: Add percentage, update column widths
1 parent 48e34fe commit 41caf77

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/app/components/SinglePropertyDetail.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const SinglePropertyDetail = ({
3535
<h2 className="font-bold text-2xl">{address}</h2>
3636
</div>
3737
<div className="flex">
38-
<div className="p-2">
38+
<div className="p-2 flex-grow">
3939
<table>
4040
<tbody>
4141
<tr>
@@ -52,7 +52,7 @@ const SinglePropertyDetail = ({
5252
</tr>
5353
<tr>
5454
<th className="text-left font-normal">Tree Canopy Gap</th>
55-
<td>{tree_canopy_gap}</td>
55+
<td>{Math.round(tree_canopy_gap * 100)}%</td>
5656
</tr>
5757
<tr>
5858
<th className="text-left font-normal">Suggested Priority</th>
@@ -77,14 +77,14 @@ const SinglePropertyDetail = ({
7777
</tbody>
7878
</table>
7979
</div>
80-
<div className="p-2">
80+
<div className="p-2 flex-grow">
8181
<h3 className="pb-1 font-bold text-lg">Owner</h3>
82-
<div className="pb-2">
82+
<div className="pb-3">
8383
<p>{owner_1}</p>
8484
<p>{owner_2}</p>
8585
</div>
8686
<h3 className="pb-1 font-bold text-lg">Relevant Info</h3>
87-
<p className="pb-2">weeeee</p>
87+
<p>????</p>
8888
</div>
8989
</div>
9090
</div>

0 commit comments

Comments
 (0)