Skip to content

Commit 0a58ecf

Browse files
committed
fix: adjust beta badge position and add arrow to context menu
1 parent b736276 commit 0a58ecf

File tree

1 file changed

+3
-2
lines changed
  • packages/nimiq-vitepress-theme/src/layout

1 file changed

+3
-2
lines changed

packages/nimiq-vitepress-theme/src/layout/Logo.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,13 @@ function handleItemClick(item: LogoContextMenuItem) {
4242
<img v-if="theme.logo" class="logo" :src="theme.logo">
4343
<div v-else i-nimiq:logos-nimiq-horizontal text-20 dark:i-nimiq:logos-nimiq-white-horizontal />
4444
<span translate-y--1 text-16 font-light tracking-wide>{{ name }}</span>
45-
<span v-if="theme.betaBadge" nq-label absolute right--50 top--8 w-35 text-9 lh-none px-4 py-3 bg-gradient-blue text-white rounded-4 outline="1.5 white/10 offset--1.5">BETA</span>
45+
<span v-if="theme.betaBadge" nq-label absolute right--39 top--8 w-35 text-9 lh-none px-4 py-3 bg-gradient-blue text-white rounded-4 outline="1.5 white/10 offset--1.5">BETA</span>
4646
</a>
4747
</ContextMenu.Trigger>
4848

4949
<ContextMenu.Portal>
5050
<ContextMenu.Content
51+
nq-arrow
5152
bg-white
5253
dark:bg-neutral-800
5354
border="1 solid neutral-200 dark:neutral-700"
@@ -107,6 +108,6 @@ function handleItemClick(item: LogoContextMenuItem) {
107108
<img v-if="theme.logo" class="logo" :src="theme.logo">
108109
<div v-else i-nimiq:logos-nimiq-horizontal text-20 dark:i-nimiq:logos-nimiq-white-horizontal />
109110
<span translate-y--1 text-16 font-light tracking-wide>{{ name }}</span>
110-
<span v-if="theme.betaBadge" text-9 font-semibold absolute right--50 top-7 w-35 lh-none px-3 py-6 bg-gradient-blue text-white rounded-4 outline="1.5 ~ white/10 offset--1.5">BETA</span>
111+
<span v-if="theme.betaBadge" text-9 font-semibold absolute right--39 top-7 w-35 lh-none px-3 py-6 bg-gradient-blue text-white rounded-4 outline="1.5 ~ white/10 offset--1.5">BETA</span>
111112
</a>
112113
</template>

0 commit comments

Comments
 (0)