Skip to content

Commit 67145ff

Browse files
committed
pushing pixels in the right direction
1 parent be50fac commit 67145ff

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

src/status_im2/contexts/share/style.cljs

+5-8
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@
3232
:padding-bottom 8
3333
:padding-horizontal 12
3434
:border-radius 16
35-
:margin-top 12
36-
:margin-bottom 4
35+
:margin-top 8
3736
:margin-horizontal screen-padding
3837
:background-color colors/white-opa-5
3938
:flex-direction :column
@@ -66,13 +65,11 @@
6665
(def profile-address-container
6766
{:flex-direction :row
6867
:justify-content :flex-start
69-
:margin-top 4
70-
:margin-horizontal 4})
68+
:margin-top 4})
7169

7270
(def emoji-address-container
7371
{:flex-direction :row
74-
:justify-content :flex-start
75-
:margin-horizontal 4})
72+
:justify-content :flex-start})
7673

7774
(def emoji-hash-label
7875
{:color colors/white-opa-40
@@ -88,7 +85,7 @@
8885

8986
(def emoji-share-button-container
9087
{:position :absolute
91-
:right 4
88+
:right 0
9289
:top 16})
9390

9491
(def emoji-hash-content
@@ -97,7 +94,7 @@
9794
:padding-top 4
9895
:padding-bottom 12
9996
:padding-left 12
100-
:font-size 14})
97+
:font-size 13})
10198

10299
(def tabs-container
103100
{:padding-horizontal screen-padding

src/status_im2/contexts/share/view.cljs

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@
4242
"The goal here is to generate a string that begins with
4343
join.status.im/u/ joined with the 1st 5 characters
4444
of the compressed public key followed by an ellipsis followed by
45-
the last 12 characters of the compressed public key"
45+
the last 10 characters of the compressed public key"
4646
[base-url public-pk]
4747
(let [first-part-of-public-pk (subs public-pk 0 5)
4848
ellipsis "..."
4949
public-pk-size (count public-pk)
50-
last-part-of-public-pk (subs public-pk (- public-pk-size 12) (- public-pk-size 1))
50+
last-part-of-public-pk (subs public-pk (- public-pk-size 10) (- public-pk-size 1))
5151
abbreviated-url (str base-url first-part-of-public-pk ellipsis last-part-of-public-pk)]
5252
abbreviated-url))
5353

@@ -174,6 +174,6 @@
174174
:padding-top (navigation/status-bar-height)}
175175
[blur/view
176176
{:style style/blur
177-
:background-color colors/neutral-80-opa-40
177+
:background-color colors/neutral-80-opa-80-blur
178178
:blur-amount 20}]
179179
[tab-content window-width]])))

0 commit comments

Comments
 (0)