refactor: cleanup

This commit is contained in:
liyasthomas
2021-07-30 13:52:43 +05:30
parent 2891da3c74
commit 203b45f4d5
18 changed files with 139 additions and 274 deletions

View File

@@ -79,7 +79,7 @@
:icon="copyIcon"
@click.native="copyRequestCode"
/>
<ButtonSecondary :label="$t('cancel')" @click.native="hideModal" />
<ButtonSecondary :label="$t('dismiss')" @click.native="hideModal" />
</template>
</SmartModal>
</template>

View File

@@ -22,10 +22,10 @@
font-semibold font-mono
h-8
text-secondaryDark
min-w-28
py-1
px-4
transition
w-28
truncate
focus:outline-none focus:border-accent
"
@@ -72,7 +72,7 @@
<div class="flex">
<ButtonPrimary
id="send"
class="rounded-none w-18"
class="rounded-none min-w-18"
:label="!loading ? $t('send') : $t('cancel')"
:shortcut="[getSpecialKey(), 'G']"
@click.native="!loading ? newSendRequest() : cancelRequest()"