Skip to content

Commit ee78aef

Browse files
committed
few styles restored
1 parent be46382 commit ee78aef

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

app/components/Button/Group.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const props = defineProps<{
77
<template>
88
<component
99
:is="props.as || 'div'"
10-
class="inline-flex items-stretch [&>*:not(:first-child)]:(-ms-px rounded-is-none) [&>*:not(:last-child)]:rounded-ie-none [&>*:hover]:(relative z-40) [&>*:focus-visible]:(relative z-40)"
10+
class="inline-flex items-stretch [&>*:not(:first-child)]:(-ms-px rounded-is-none) [&>*:not(:last-child)]:rounded-ie-none [&>*:hover]:(relative z-40 scale-1) [&>*:active]:scale-1 [&>*:focus-visible]:(relative z-40)"
1111
>
1212
<slot />
1313
</component>

app/components/Header/AccountMenu.client.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function openAuthModal() {
5959
<div ref="accountMenuRef">
6060
<ButtonBase
6161
type="button"
62-
class="border-0"
62+
class="border-0 min-w-28"
6363
:aria-expanded="isOpen"
6464
aria-haspopup="true"
6565
@click="isOpen = !isOpen"

app/components/Header/AccountMenu.server.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div
3-
class="inline-flex gap-x-1.5 items-center justify-center font-mono rounded-md text-sm px-4 py-2 bg-transparent text-fg"
3+
class="inline-flex gap-x-1.5 min-w-28 items-center justify-center font-mono rounded-md text-sm px-4 py-2 bg-transparent text-fg"
44
>
55
<span class="text-sm text-fg-muted">{{ $t('account_menu.connect') }}</span>
66
<span class="i-carbon-chevron-down w-3 h-3 text-fg-muted" aria-hidden="true" />

app/components/Link/Base.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const isButtonMedium = computed(() => props.size === 'medium' && !isLink.value)
7575
</span>
7676
<NuxtLink
7777
v-else
78-
class="group cursor-pointer gap-x-1.5 items-center rounded-sm outline-transparent active:scale-[0.98] focus-visible:(outline-2 outline-accent) transition-colors duration-200"
78+
class="group/link cursor-pointer gap-x-1.5 items-center rounded-sm outline-transparent active:scale-[0.98] focus-visible:(outline-2 outline-accent) transition-colors duration-200"
7979
:class="{
8080
'flex': block,
8181
'inline-flex': !block,
@@ -106,7 +106,7 @@ const isButtonMedium = computed(() => props.size === 'medium' && !isLink.value)
106106
/>
107107
<span
108108
v-else-if="isLinkAnchor && isLink"
109-
class="i-carbon:link size-[1em] opacity-0 group-hover:opacity-100 group-focus-visible:opacity-100 transition-opacity duration-200"
109+
class="i-carbon:link size-[1em] opacity-0 group-hover/link:opacity-100 group-focus-visible/link:opacity-100 transition-opacity duration-200"
110110
aria-hidden="true"
111111
/>
112112
<kbd

0 commit comments

Comments
 (0)