Add spacing to time and day units for better readability
Updates the display format for time and day totals to include a space between the numerical value and its unit (e.g., "9 h" instead of "9h", "2 j" instead of "2j") in the timesheet detail page. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 55837015-10e9-4be9-b857-7f5e6be73772 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 4d5fc4ac-aaa0-45c8-8a5b-b340b393d463 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1cc377db-7ea0-49f2-97ce-c3e87e0228cc/55837015-10e9-4be9-b857-7f5e6be73772/fiIXlhI Replit-Helium-Checkpoint-Created: true
This commit is contained in:
parent
e8fce75535
commit
8f0cd394c0
@ -622,7 +622,7 @@ export default function TimesheetDetailPage() {
|
|||||||
total >= 8 ? "text-green-700 font-bold bg-green-50" : ""
|
total >= 8 ? "text-green-700 font-bold bg-green-50" : ""
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{total > 0 ? (showDays ? `${Math.ceil(total / 8)}j` : total) : ""}
|
{total > 0 ? (showDays ? `${Math.ceil(total / 8)} j` : `${total} h`) : ""}
|
||||||
</td>
|
</td>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
|
|||||||
BIN
attached_assets/image_1777020041553.png
Normal file
BIN
attached_assets/image_1777020041553.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.9 KiB |
Loading…
x
Reference in New Issue
Block a user