OSDN Git Service

padding the btn-group tab.
authorZhiting Lin <zlin035@uottawa.ca>
Wed, 19 Sep 2018 07:57:35 +0000 (15:57 +0800)
committerZhiting Lin <zlin035@uottawa.ca>
Wed, 19 Sep 2018 07:57:35 +0000 (15:57 +0800)
src/features/transactions/components/New/New.scss
src/features/transactions/components/New/NormalTransactionForm.jsx

index 080a9a2..1797cc9 100644 (file)
 .btnGroup {
   margin-top: $gutter-size;
   text-align: center;
+  button{
+    padding: 0 40px;
+    color: $text-color;
+    &.active{
+      background-color: $highlight-default;
+      color: white;
+    }
+  }
 }
 
 .title {
index ee4c462..8ab5d98 100644 (file)
@@ -36,7 +36,7 @@ class NormalTxForm extends React.Component {
       return !!(target && target.value)
     }
 
-    return !( (this.state.estimateGas)&&
+    return !( (this.state.estimateGas) &&
       (hasValue(props.accountId) || hasValue(props.accountAlias)) &&
       (hasValue(props.assetId) || hasValue(props.assetAlias)) &&
       hasValue(props.address) && (hasValue(props.amount)) &&