diff --git a/fields/InputField.vue b/fields/InputField.vue index 1a1faf8..5893182 100644 --- a/fields/InputField.vue +++ b/fields/InputField.vue @@ -1,6 +1,6 @@ @@ -30,8 +50,10 @@ import { AppCopy, AppIcon } from '#components' import { InputField } from '@/fields' import { Wallet } from 'ethers' +import { v4 as uuidv4 } from 'uuid' import { onMounted, reactive } from 'vue' +const randomAddressInputFieldUid = `input-field--${uuidv4()}` const generateRandomAddress = (): string => Wallet.createRandom().address const form = reactive({ @@ -55,6 +77,19 @@ onMounted(() => { @include solidity-tools-form-part; } +.common-addresses-form__label-wrp { + display: flex; + gap: toRem(8); + align-items: center; + margin-bottom: var(--field-label-margin-bottom); +} + +.common-addresses-form__label { + @include field-label; + + margin-bottom: 0; +} + .common-addresses-form .common-addresses-form__btn-icon { height: toRem(16); width: toRem(16); diff --git a/plugins/localization/resources/en.json b/plugins/localization/resources/en.json index 6d8e9c7..b8a1646 100644 --- a/plugins/localization/resources/en.json +++ b/plugins/localization/resources/en.json @@ -118,7 +118,7 @@ "zeroAddress-label": "Zero Address", "allFsAddress-label": "All Fs Address", "allEsAddress-label": "All Es Address", - "randomAddress-label": "Random address" + "randomAddress-label": "Random Address" }, "date-form": { "input-title": "Enter Date and Time",