Skip to content

Commit

Permalink
fix: truncate collectibles name length in send asset popup (#7573)
Browse files Browse the repository at this point in the history
* fix: truncate key

* fix: limit firstCharCount to 10

* fix: use css for truncate

* fix: add max-width only when key and value

* fix: remove debris

---------

Co-authored-by: Begoña Álvarez de la Cruz <balvarez@boxfish.studio>
  • Loading branch information
evavirseda and begonaalvarezd authored Oct 13, 2023
1 parent 63785e0 commit 751b869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/components/SelectorInput.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
on:click={() => onClick(option)}
class="w-full flex flex-row flex-1 justify-between items-center px-2 py-3 rounded-lg hover:bg-blue-50 dark:hover:bg-gray-800 dark:hover:bg-opacity-20"
>
<div class="flex flex-row gap-3 justify-start items-center flex-1">
<div class="flex flex-row gap-3 justify-start items-center flex-1 overflow-hidden">
<slot {option} {index}>
<!-- Contains Custom Selector -->
</slot>
Expand Down

0 comments on commit 751b869

Please sign in to comment.