refactor: improve ui consistency

This commit is contained in:
liyasthomas
2022-04-14 19:00:04 +05:30
parent f7ca3f8bd1
commit 9232aad184
7 changed files with 65 additions and 7 deletions

View File

@@ -29,6 +29,17 @@
</span>
</span>
<div class="flex">
<ButtonSecondary
v-tippy="{ theme: 'tooltip' }"
svg="file-plus"
:title="$t('request.new')"
class="hidden group-hover:inline-flex"
@click.native="
$emit('add-request', {
path: `${collectionIndex}`,
})
"
/>
<ButtonSecondary
v-tippy="{ theme: 'tooltip' }"
svg="folder-plus"
@@ -69,7 +80,7 @@
>
<SmartItem
ref="requestAction"
svg="plus"
svg="file-plus"
:label="`${$t('request.new')}`"
:shortcut="['R']"
@click.native="