From d17806ceb57fa87df211c6e0a5489848b4634e0f Mon Sep 17 00:00:00 2001 From: Lucas Tortora <85233773+lucas-tortora@users.noreply.github.com> Date: Mon, 4 Sep 2023 18:38:18 -0300 Subject: [PATCH] Basic css touch ups --- src/components/ManaCalculator/index.tsx | 291 ++++++++++++----------- src/components/ManaCalculator/styles.css | 36 +++ 2 files changed, 187 insertions(+), 140 deletions(-) create mode 100644 src/components/ManaCalculator/styles.css diff --git a/src/components/ManaCalculator/index.tsx b/src/components/ManaCalculator/index.tsx index 84d0635e680..f2ff392ab54 100644 --- a/src/components/ManaCalculator/index.tsx +++ b/src/components/ManaCalculator/index.tsx @@ -2,6 +2,7 @@ import React, { useState } from 'react'; import Select from 'react-select'; import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; +import './styles.css'; import { calculateManaRewards, calculatePassiveRewards, @@ -38,60 +39,50 @@ function ValidatorCard({ id: number; }) { return ( -
-
-
-
Validator {id + 1}
- -
+
+
+
Validator {id + 1}
+
-
-
- -
-
- -
+
+ + handleStakeChange(Number(e.target.value), id)} + >
-
-
- -
-
- -
+
+ + + handleDelegatedStakeChange(Number(e.target.value), id) + } + > +
+
+ + handlePFChange(Number(e.target.value), id)} + > +
+
+ + handleFCChange(Number(e.target.value), id)} + >
); @@ -393,13 +384,15 @@ export default function ManaCalculator() { return ( -
- - handleEpochChange(Number(e.target.value))} - > +
+
+ + handleEpochChange(Number(e.target.value))} + > +
@@ -417,6 +410,8 @@ export default function ManaCalculator() { />
))} +
+