From c3039b1cba9b6e4689101e540a7534d64f1c180c Mon Sep 17 00:00:00 2001 From: dc-andysign Date: Thu, 18 Jan 2024 09:10:10 +0000 Subject: [PATCH] Rewritten and made to use Grid.Panel instead of div (gird). --- .../components/CertificateActionsButtons.js | 54 ++++++++++++++----- 1 file changed, 40 insertions(+), 14 deletions(-) diff --git a/src/pages/components/CertificateActionsButtons.js b/src/pages/components/CertificateActionsButtons.js index 90e2eaa..85f8a7c 100644 --- a/src/pages/components/CertificateActionsButtons.js +++ b/src/pages/components/CertificateActionsButtons.js @@ -6,17 +6,43 @@ import { Grid } from '@digicatapult/ui-component-library' export default function CertificateActionsButtons({ onSubmit }) { return ( <> + + + + +
left
+
+ +
right
+
+ +
+ +
+
+
+
+
+ + {/*
SaveDraft
Cancel
- - - +
+ */} ) } @@ -34,14 +60,14 @@ const PaddedDiv = styled.div` width: 100%; ` -const GriddedDiv = styled.div` - display: grid; - gap: 20px 10px; - grid-template-columns: 1fr 1fr; - grid-auto-rows: 44px 69px; - - background-color: #25928b; -` +// const GriddedDiv = styled.div` +// display: grid; +// gap: 20px 10px; +// grid-template-columns: 1fr 1fr; +// grid-auto-rows: 44px 69px; +// +// background-color: #25928b; +// ` const Div = styled.div` min-width: 132px; @@ -51,9 +77,9 @@ const Div = styled.div` color: #454545; ` -const DivDouble = styled(Div)` - grid-column: 1 / -1; -` +// const DivDouble = styled(Div)` +// grid-column: 1 / -1; +// ` // const BoxDoubleAlternative = styled(Box)` // grid-column-start: 1;