From 775051bac304df71e2d12d6acca441de8019dca1 Mon Sep 17 00:00:00 2001 From: Anwarul Islam Date: Tue, 20 Aug 2024 01:51:34 +0600 Subject: [PATCH] chore: update WhatsNewDialog UI and position (#4252) Co-authored-by: nivedin --- .../src/components/app/WhatsNewDialog.vue | 77 +++++++++++++++---- .../src/composables/whats-new.ts | 4 + 2 files changed, 65 insertions(+), 16 deletions(-) diff --git a/packages/hoppscotch-common/src/components/app/WhatsNewDialog.vue b/packages/hoppscotch-common/src/components/app/WhatsNewDialog.vue index 39345cee5..9df856ea6 100644 --- a/packages/hoppscotch-common/src/components/app/WhatsNewDialog.vue +++ b/packages/hoppscotch-common/src/components/app/WhatsNewDialog.vue @@ -1,26 +1,33 @@ @@ -44,3 +51,41 @@ const openWhatsNew = () => { if (props.notesUrl) platform.io.openExternalLink(props.notesUrl) } + + diff --git a/packages/hoppscotch-common/src/composables/whats-new.ts b/packages/hoppscotch-common/src/composables/whats-new.ts index 9a246d1bb..36d147097 100644 --- a/packages/hoppscotch-common/src/composables/whats-new.ts +++ b/packages/hoppscotch-common/src/composables/whats-new.ts @@ -43,6 +43,10 @@ export function useWhatsNewDialog() { version: hoppscotchCommonPkgVersion, }, position: "bottom-left", + style: { + bottom: "15px", + left: "30px", + }, duration: Infinity, }) }