fix(quo): truncation on wallet account card long name (#18259)

---------

Co-authored-by: Paul Fitzgerald <paulfitz99@gmail.com>
This commit is contained in:
Jamie Caprani 2023-12-22 15:48:57 +00:00 committed by GitHub
parent 7915ba85ab
commit eda8c0ccb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -126,9 +126,13 @@
[text/text {:style style/emoji} emoji]] [text/text {:style style/emoji} emoji]]
[rn/view {:style style/watch-only-container} [rn/view {:style style/watch-only-container}
[text/text [text/text
{:size :paragraph-2 {:size :paragraph-2
:weight :medium :weight :medium
:style (style/account-name type theme)} :number-of-lines 1
:max-width 110
:margin-right 4
:ellipis-mode :tail
:style (style/account-name type theme)}
name] name]
(when watch-only? [icon/icon :i/reveal {:color colors/neutral-50 :size 12}]) (when watch-only? [icon/icon :i/reveal {:color colors/neutral-50 :size 12}])
(when missing-keypair? (when missing-keypair?