fix: currency selector hidden on phones, space around + between currencies
This commit is contained in:
1 parent
c610aa58fa
commit
94466d9be9
2 files changed
+2
-2
No files matched your search
@@ -34,7 +34,7 @@
|
|||||||
{:else if inline}
|
{:else if inline}
|
||||||
{#each parts as part, index (part.code ?? index)}
|
{#each parts as part, index (part.code ?? index)}
|
||||||
{#if index > 0}
|
{#if index > 0}
|
||||||
<span class="text-cladd-fg-softer"> + </span>
|
<span class="mx-1 text-cladd-fg-softer">+</span>
|
||||||
{/if}
|
{/if}
|
||||||
<Amount {...part} class={className} {signed} {tone} />
|
<Amount {...part} class={className} {signed} {tone} />
|
||||||
{/each}
|
{/each}
|
||||||
|
|||||||
@@ -251,7 +251,7 @@
|
|||||||
<DropdownMenu.Root>
|
<DropdownMenu.Root>
|
||||||
<DropdownMenu.Trigger
|
<DropdownMenu.Trigger
|
||||||
aria-label="Currency to show amounts in"
|
aria-label="Currency to show amounts in"
|
||||||
class="flex h-8 items-center gap-1 rounded-cladd-md px-2 text-[12px] font-semibold hover:bg-black/10 {display.on
|
class="hidden h-8 items-center gap-1 rounded-cladd-md px-2 text-[12px] font-semibold hover:bg-black/10 sm:flex {display.on
|
||||||
? "bg-black/15"
|
? "bg-black/15"
|
||||||
: "text-on-brand/80"}"
|
: "text-on-brand/80"}"
|
||||||
title="Show every amount in one currency $"
|
title="Show every amount in one currency $"
|
||||||
|
|||||||
Reference in new issue
Block a user