Skip to content

Commit af4ad5f

Browse files
fixes on token network when token name is too long
1 parent c017260 commit af4ad5f

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

src/quo/components/list_items/token_network/style.cljs

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
:background-color colors/neutral-80-opa-5})
4444

4545
(def values-container
46-
{:align-items :flex-end})
46+
{:align-items :flex-end
47+
:max-width "30%"})
4748

4849
(defn fiat-value
4950
[theme]

src/quo/components/list_items/token_network/view.cljs

+6-4
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,14 @@
3333
:accessibility-label :check-icon}]
3434
[rn/view {:style style/values-container}
3535
[text/text
36-
{:weight :medium
37-
:size :paragraph-2}
36+
{:weight :medium
37+
:size :paragraph-2
38+
:number-of-lines 1}
3839
token-value]
3940
[text/text
40-
{:style (style/fiat-value theme)
41-
:size :paragraph-2}
41+
{:style (style/fiat-value theme)
42+
:size :paragraph-2
43+
:number-of-lines 1}
4244
fiat-value]]))
4345

4446
(defn- view-internal

0 commit comments

Comments
 (0)