Merge branch 'fix/wallet-create-pazzle-display'

master
Niko PLP 5 months ago
commit 9e6c004fc4
  1. 2
      ng-app/src/locales/en.json
  2. 30
      ng-app/src/routes/WalletCreate.svelte

@ -796,7 +796,7 @@
"champagne_bottle": "champagne bottle", "champagne_bottle": "champagne bottle",
"glass_wine": "wine glass", "glass_wine": "wine glass",
"two_glasses": "two glasses of cava", "two_glasses": "two glasses of cava",
"mountain": "smountain", "mountain": "mountain",
"camping": "camping", "camping": "camping",
"beach": "beach", "beach": "beach",
"compass": "compass", "compass": "compass",

@ -1631,24 +1631,26 @@
> >
{#each pazzle_emojis as emoji, index} {#each pazzle_emojis as emoji, index}
<div <div
class="flex w-full p-1 tall-sm:p-2 content-center" class="flex w-full py-2"
class:border-b={index !== pazzle_emojis.length - 1} class:border-b={index !== pazzle_emojis.length - 1}
class:justify-center={!small_screen} class:justify-center={!small_screen}
> >
<div class="mr-4 content-center pt-1 my-auto"> <div class="flex w-[30%] justify-end">
{index + 1} <div class="mr-4 content-center pt-1 my-auto">
</div> {index + 1}
<div </div>
class="flex justify-center w-[3em] h-[3em]" <div
title={$t("emojis.codes." + emoji.code)} class="flex justify-center w-[3em] h-[3em]"
> title={$t("emojis.codes." + emoji.code)}
<svelte:component >
this={emoji.svg?.default} <svelte:component
class="w-[3em] h-[3em] " this={emoji.svg?.default}
/> class="w-[3em] h-[3em] "
/>
</div>
</div> </div>
<div class="flex flex-col ml-4"> <div class="flex flex-col ml-4 w-[70%]">
<div class="w-[10em] text-left"> <div class="text-left">
<span>{$t("emojis.category." + emoji.cat)}</span> <span>{$t("emojis.category." + emoji.cat)}</span>
</div> </div>
<div class="font-bold text-lg h-full content-center"> <div class="font-bold text-lg h-full content-center">

Loading…
Cancel
Save