diff --git a/.eslintrc.js b/.eslintrc.js index dc4862ba..05f9a318 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -54,8 +54,9 @@ module.exports = { 'vue/singleline-html-element-content-newline': 0, 'vue/v-bind-style': 0, 'vue/v-on-style': 0, + 'vue/no-unused-vars': 0, // allow `$value` - 'vue/prop-name-casing': 0, + 'vue/prop-name-casing': ["warn"], // VUE RECOMMENDED 'vue/no-v-html': 0, diff --git a/api/gate.js b/api/gate.js index 59d2304f..4d47ec48 100644 --- a/api/gate.js +++ b/api/gate.js @@ -8,17 +8,17 @@ import {GATE_API_URL, CHAIN_ID} from '~/assets/variables'; const minterApi = new MinterApi({apiType: 'gate', baseURL: GATE_API_URL, chainId: CHAIN_ID}); -export const postTx = new PostTx(minterApi); +export const postTx = PostTx(minterApi); -export const postSignedTx = new PostSignedTx(minterApi); +export const postSignedTx = PostSignedTx(minterApi); -export const getNonce = new GetNonce(minterApi); +export const getNonce = GetNonce(minterApi); export const ensureNonce = EnsureNonce(minterApi); -export const estimateCoinSell = new EstimateCoinSell(minterApi); +export const estimateCoinSell = EstimateCoinSell(minterApi); -export const estimateCoinBuy = new EstimateCoinBuy(minterApi); +export const estimateCoinBuy = EstimateCoinBuy(minterApi); diff --git a/assets/less/include/layout.less b/assets/less/include/layout.less index 6c598bc8..a29dc602 100644 --- a/assets/less/include/layout.less +++ b/assets/less/include/layout.less @@ -73,6 +73,7 @@ @media (min-width: @breakpoint-large-up) { .u-cell--large--1-2 {width: 50%;} .u-cell--large--1-3 { width: 33.3333%;} + .u-cell--large--1-4 {width: 25%;} } @media (min-width: @breakpoint-xlarge-up) { .u-cell--xlarge--1-4 { width: 25%;} diff --git a/assets/less/include/modal.less b/assets/less/include/modal.less index e53fb93b..c65166ff 100644 --- a/assets/less/include/modal.less +++ b/assets/less/include/modal.less @@ -20,7 +20,7 @@ &::before {transform: rotate(45deg);} &::after {transform: rotate(-45deg);} } -.modal__container {max-width: 450px; margin: auto; text-align: center; padding-bottom: @modal-padding-vertical;} +.modal__container {max-width: 450px; width: 100%; margin: auto; text-align: center; padding-bottom: @modal-padding-vertical;} .modal__title {margin-bottom: 10px;} .modal__text {max-width: 480px; margin: 0 auto 20px; &:last-child {margin-bottom: 0;}} diff --git a/components/CheckIssueForm.vue b/components/CheckIssueForm.vue index cb33f56d..dce5d5d8 100644 --- a/components/CheckIssueForm.vue +++ b/components/CheckIssueForm.vue @@ -15,7 +15,7 @@ import {pretty} from '~/assets/utils'; import {NETWORK, TESTNET} from '~/assets/variables'; import Modal from '~/components/common/Modal'; - import InputUppercase from '~/components/common/InputUppercase'; + import FieldCoin from '~/components/common/FieldCoin.vue'; import InputMaskedAmount from '~/components/common/InputMaskedAmount'; import InputMaskedInteger from '~/components/common/InputMaskedInteger'; import ButtonCopyIcon from '~/components/common/ButtonCopyIcon'; @@ -25,7 +25,7 @@ QrcodeVue, InlineSvg, Modal, - InputUppercase, + FieldCoin, InputMaskedAmount, InputMaskedInteger, ButtonCopyIcon, @@ -185,23 +185,12 @@
{{ $td('If you want to buy a specific coin, you can do it here.', 'convert.buy-description') }}
-{{ $td('Create your own coin from scratch. It is completely up to you to decide what role it will play — that of a currency, a security, a utility token, a right, a vote, or something else.', 'coiner.create-description') }}
-