Skip to content

Commit

Permalink
fix: currency-selector (#1514)
Browse files Browse the repository at this point in the history
## Description

## References
### Jira-link:
<!-- Put link to your task in Jira here -->
https://virtocommerce.atlassian.net/browse/VCST-2352
### Artifact URL:

https://vc3prerelease.blob.core.windows.net/packages/vc-theme-b2b-vue-2.12.0-pr-1514-d494-d494c483.zip
  • Loading branch information
goldenmaya authored Dec 23, 2024
1 parent 1f28f2d commit 730f319
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<VcDropdownMenu placement="bottom-end" width="7.5rem" class="h-full">
<VcDropdownMenu placement="bottom-end" width="8rem" class="h-full">
<template #trigger="{ opened }">
<button type="button" class="flex h-full items-center gap-x-1.5">
<span class="text-sm">
Expand All @@ -20,16 +20,15 @@
:key="item.code"
:active="item.code === currentCurrency.code"
color="secondary"
truncate
@click="
select(item.code);
close();
"
>
<span
class="flex size-5 shrink-0 items-center justify-center rounded-full bg-secondary-600 text-base font-bold text-additional-50"
>
{{ item.symbol }}
</span>
<template #prepend>
<VcBadge rounded color="secondary" size="lg">{{ item.symbol }}</VcBadge>
</template>

<span>{{ item.code }}</span>
</VcMenuItem>
Expand Down

0 comments on commit 730f319

Please sign in to comment.