Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

chore: improve ui consistency

liyasthomasb132077cddb6
diff --git a/packages/hoppscotch-app/components/http/Request.vue b/packages/hoppscotch-app/components/http/Request.vue
index fe280c994..5efeb2231 100644
--- a/packages/hoppscotch-app/components/http/Request.vue
+++ b/packages/hoppscotch-app/components/http/Request.vue
@@ -152,49 +152,43 @@
/>
<div
ref="saveTippyActions"
- class="flex flex-col divide-y-1 divide-primaryDark focus:outline-none"
+ class="flex flex-col focus:outline-none"
tabindex="0"
role="menu"
@keyup.c="copyRequestAction.$el.click()"
@keyup.s="saveRequestAction.$el.click()"
@keyup.escape="saveOptions.tippy().hide()"
>
- <div class="flex flex-col space-y-1">
- <SmartItem
- ref="copyRequestAction"
- :label="shareButtonText"
- :svg="copyLinkIcon"
- :loading="fetchingShareLink"
- :shortcut="['C']"
- @click.native="
- () => {
- copyRequest()
- }
- "
- />
- <SmartAnchor
- :label="`${t('request.view_my_links')}`"
- to="/profile"
- svg="arrow-right"
- reverse
- blank
- class="pb-3 -ml-4 text-tiny text-secondaryLight"
- />
- </div>
- <div class="flex pt-3 pb-1">
- <SmartItem
- ref="saveRequestAction"
- :label="`${t('request.save_as')}`"
- svg="folder-plus"
- :shortcut="['S']"
- @click.native="
- () => {
- showSaveRequestModal = true
- saveOptions.tippy().hide()
- }
- "
- />
- </div>
+ <SmartItem
+ ref="copyRequestAction"
+ :label="shareButtonText"
+ :svg="copyLinkIcon"
+ :loading="fetchingShareLink"
+ :shortcut="['C']"
+ @click.native="
+ () => {
+ copyRequest()
+ }
+ "
+ />
+ <SmartItem
+ svg="link-2"
+ :label="`${t('request.view_my_links')}`"
+ to="/profile"
+ />
+ <hr />
+ <SmartItem
+ ref="saveRequestAction"
+ :label="`${t('request.save_as')}`"
+ svg="folder-plus"
+ :shortcut="['S']"
+ @click.native="
+ () => {
+ showSaveRequestModal = true
+ saveOptions.tippy().hide()
+ }
+ "
+ />
</div>
</tippy>
</span>