From 4fc810d9769af82bce1069a48aa840b0f1747b87 Mon Sep 17 00:00:00 2001 From: ItzCrazyKns <95534749+ItzCrazyKns@users.noreply.github.com> Date: Fri, 5 Dec 2025 21:30:41 +0530 Subject: [PATCH] feat(calculation-widget): enhance UI --- src/components/Widgets/Calculation.tsx | 32 ++++++++++---------------- 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a/src/components/Widgets/Calculation.tsx b/src/components/Widgets/Calculation.tsx index e671aab..54d7ef3 100644 --- a/src/components/Widgets/Calculation.tsx +++ b/src/components/Widgets/Calculation.tsx @@ -9,38 +9,30 @@ type CalculationWidgetProps = { const Calculation = ({ expression, result }: CalculationWidgetProps) => { return ( -
-
-
- -
- - Calculation - -
- -
-
-
- +
+
+
+
+ + Expression
-
+
{expression}
-
-
- - +
+
+ + Result
-
+
{result.toLocaleString()}