)
}
diff --git a/frontend/src/components/Testator.jsx b/frontend/src/components/Testator.jsx
index 4d57f55..4302eea 100755
--- a/frontend/src/components/Testator.jsx
+++ b/frontend/src/components/Testator.jsx
@@ -1,6 +1,5 @@
import { useState, useEffect } from 'react'
import "../css/Banner.css"
-import "../css/Testator.css";
import CardTestator from "./CardTestator.jsx";
import eth from "../eth/eth.js"
import {ethers} from "ethers";
@@ -43,7 +42,7 @@ function Testator() {
beneficiary: will_testator.beneficiary,
withdrawDate: withdrawdateNew
}
- }
+ }
catch(e) {
console.log("Invalid withdrawDate");
var myWill = {
@@ -84,12 +83,10 @@ function Testator() {
}
return (
-
-
- {(will_beneficiary).map((item, index) =>
-
- )}
-
+
+ {(will_beneficiary).map((item, index) =>
+
+ )}
)
}
diff --git a/frontend/src/css/Beneficiary.css b/frontend/src/css/Beneficiary.css
deleted file mode 100755
index 67f15af..0000000
--- a/frontend/src/css/Beneficiary.css
+++ /dev/null
@@ -1,10 +0,0 @@
-.Beneficiary {
- margin-left: 20vh;
- margin-right: 20vh;
- margin-top: 5vh;
-}
-
-.BeneficiaryContainer {
- display: flex;
- flex-wrap: wrap;
-}
diff --git a/frontend/src/css/Buttons.css b/frontend/src/css/Buttons.css
index 1b6934b..bd28baa 100755
--- a/frontend/src/css/Buttons.css
+++ b/frontend/src/css/Buttons.css
@@ -5,7 +5,7 @@
font-weight: bold;
border: none;
border-radius: 20px;
- margin-right: 10px;
+ width: 100px;
}
.withdrawBtn:hover {
@@ -20,11 +20,13 @@
.extendBtn {
padding: 10px;
+ width: 100px;
background: #be60e0;
color: white;
font-weight: bold;
border: none;
border-radius: 20px;
+ margin-top: 10px;
}
.extendBtn:hover {
diff --git a/frontend/src/css/Card.css b/frontend/src/css/Card.css
index 254b23e..6e165cb 100755
--- a/frontend/src/css/Card.css
+++ b/frontend/src/css/Card.css
@@ -1,11 +1,21 @@
-.CardBeneficiary {
+.CardContainer {
+ margin-left: 20vh;
+ margin-right: 20vh;
+ margin-top: 5vh;
+
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+}
+
+
+.Card {
display: flex;
flex-direction: column;
- justify-content: space-between;
background: #fffdf9;
color: #595959;
- width: 250px;
- height: 300px;
+ width: 900px;
+ height: 210px;
border-radius: 12px;
padding-left: 20px;
padding-right: 20px;
@@ -16,31 +26,22 @@
-moz-box-shadow: 0px 0px 35px -2px rgba(110,110,110,0.49);
}
+.cardContent {
+ display: flex;
+ justify-content: space-between;
+ flex-direction: row;
+ align-items: center;
+ padding-top: 20px;
+}
+
table td {
padding-right: 15px;
padding-bottom: 5px;
}
.btnArea {
- //border: 1px solid black;
- margin-bottom: 25px;
-}
-
-
-.CardTestator {
display: flex;
flex-direction: column;
+ //border: 1px solid black;
justify-content: space-between;
- background: #fffdf9;
- color: #595959;
- width: 250px;
- height: 300px;
- border-radius: 12px;
- padding-left: 20px;
- padding-right: 20px;
- padding-top: 20px;
- margin: 20px;
- box-shadow: 0px 0px 35px -2px rgba(110,110,110,0.49);
--webkit-box-shadow: 0px 0px 35px -2px rgba(110,110,110,0.49);
--moz-box-shadow: 0px 0px 35px -2px rgba(110,110,110,0.49);
}
diff --git a/frontend/src/css/Testator.css b/frontend/src/css/Testator.css
deleted file mode 100755
index 312069f..0000000
--- a/frontend/src/css/Testator.css
+++ /dev/null
@@ -1,10 +0,0 @@
-.Testator {
- margin-left: 20vh;
- margin-right: 20vh;
- margin-top: 5vh;
-}
-
-.TestatorContainer {
- display: flex;
- flex-wrap: wrap;
-}
diff --git a/roadmap.md b/roadmap.md
index d00a383..a4a0748 100644
--- a/roadmap.md
+++ b/roadmap.md
@@ -1,2 +1,3 @@
# Roadmap
-- [ ] Die Card soll über die ganze Zeile gehen.
+- [x] Die Card soll über die ganze Zeile gehen.
+- [ ] Button Funktionalität unter Testator implementieren.