chore: improve ui consistency
This commit is contained in:
@@ -152,49 +152,43 @@
|
|||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
ref="saveTippyActions"
|
ref="saveTippyActions"
|
||||||
class="flex flex-col divide-y-1 divide-primaryDark focus:outline-none"
|
class="flex flex-col focus:outline-none"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
role="menu"
|
role="menu"
|
||||||
@keyup.c="copyRequestAction.$el.click()"
|
@keyup.c="copyRequestAction.$el.click()"
|
||||||
@keyup.s="saveRequestAction.$el.click()"
|
@keyup.s="saveRequestAction.$el.click()"
|
||||||
@keyup.escape="saveOptions.tippy().hide()"
|
@keyup.escape="saveOptions.tippy().hide()"
|
||||||
>
|
>
|
||||||
<div class="flex flex-col space-y-1">
|
<SmartItem
|
||||||
<SmartItem
|
ref="copyRequestAction"
|
||||||
ref="copyRequestAction"
|
:label="shareButtonText"
|
||||||
:label="shareButtonText"
|
:svg="copyLinkIcon"
|
||||||
:svg="copyLinkIcon"
|
:loading="fetchingShareLink"
|
||||||
:loading="fetchingShareLink"
|
:shortcut="['C']"
|
||||||
:shortcut="['C']"
|
@click.native="
|
||||||
@click.native="
|
() => {
|
||||||
() => {
|
copyRequest()
|
||||||
copyRequest()
|
}
|
||||||
}
|
"
|
||||||
"
|
/>
|
||||||
/>
|
<SmartItem
|
||||||
<SmartAnchor
|
svg="link-2"
|
||||||
:label="`${t('request.view_my_links')}`"
|
:label="`${t('request.view_my_links')}`"
|
||||||
to="/profile"
|
to="/profile"
|
||||||
svg="arrow-right"
|
/>
|
||||||
reverse
|
<hr />
|
||||||
blank
|
<SmartItem
|
||||||
class="pb-3 -ml-4 text-tiny text-secondaryLight"
|
ref="saveRequestAction"
|
||||||
/>
|
:label="`${t('request.save_as')}`"
|
||||||
</div>
|
svg="folder-plus"
|
||||||
<div class="flex pt-3 pb-1">
|
:shortcut="['S']"
|
||||||
<SmartItem
|
@click.native="
|
||||||
ref="saveRequestAction"
|
() => {
|
||||||
:label="`${t('request.save_as')}`"
|
showSaveRequestModal = true
|
||||||
svg="folder-plus"
|
saveOptions.tippy().hide()
|
||||||
:shortcut="['S']"
|
}
|
||||||
@click.native="
|
"
|
||||||
() => {
|
/>
|
||||||
showSaveRequestModal = true
|
|
||||||
saveOptions.tippy().hide()
|
|
||||||
}
|
|
||||||
"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</tippy>
|
</tippy>
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user