From 78f4f1e52701893259bbd714c072c1d7588417be Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Tue, 8 Jul 2025 13:14:27 +0200 Subject: [PATCH] Refactor PriceDisplay component layout - Adjusted grid layout for price display to improve readability. - Consolidated break-even price display into a more compact format. - Enhanced styling for better visual alignment of price information. --- src/components/JobCardDetails.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/JobCardDetails.tsx b/src/components/JobCardDetails.tsx index 9cb5800..2e35a16 100644 --- a/src/components/JobCardDetails.tsx +++ b/src/components/JobCardDetails.tsx @@ -251,12 +251,17 @@ const PriceDisplay: React.FC = ({ job }) => { const taxSuffix = salesTax > 0 ? ` (+${(salesTax * 100).toFixed(1)}% tax)` : ''; return ( -
-
+
+
Target Price{taxSuffix}:
-
+
+ + Break-even{taxSuffix}: +
+ +
= ({ job }) => { {copying === 'targetPrice' && }
- -
- - Break-even{taxSuffix}: -
-
+