From 7dbbfc0c2eac7000bf208ce068e887b4db14ea5f Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Mon, 26 Apr 2021 19:46:35 +0530 Subject: Minor styling + fixed the calculation of discount and taxes and added new calculations --- src/components/Display/Display.css | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'src/components/Display/Display.css') diff --git a/src/components/Display/Display.css b/src/components/Display/Display.css index 528e837..21a9815 100644 --- a/src/components/Display/Display.css +++ b/src/components/Display/Display.css @@ -44,4 +44,18 @@ $defShadow: 0px 0px 4px #232627; font-size: 1.7rem; } .SummaryDisplay { - border: 1px solid pink; } + width: 30%; + padding: 0.5rem 2rem; } + +.SummaryDisplay h1 { + font-size: 3rem; + margin: 0.5rem -1.5rem; + border-bottom: 1px dotted lightblue; } + +.SummaryDisplay table { + width: 100%; + margin: auto; } + +.SummaryDisplay td { + font-size: 1.25rem; + padding: 0.2rem 0; } -- cgit v1.2.3