Skip to content

Commit 03df6f9

Browse files
committed
use vars
1 parent 118a0db commit 03df6f9

File tree

1 file changed

+5
-2
lines changed
  • src/status_im/contexts/wallet/share_community_channel

1 file changed

+5
-2
lines changed

src/status_im/contexts/wallet/share_community_channel/style.cljs

+5-2
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,16 @@
1717
{:padding-horizontal 20
1818
:align-items :center})
1919

20+
(def gradient-cover-padding 20)
21+
(def qr-code-padding 12)
22+
2023
(defn qr-code-size
2124
[total-width]
22-
(- total-width 64))
25+
(- total-width (* gradient-cover-padding 2) (* qr-code-padding 2)))
2326

2427
(defn gradient-cover-size
2528
[total-width]
26-
(- total-width 40))
29+
(- total-width (* gradient-cover-padding 2)))
2730

2831
(defn gradient-cover-wrapper
2932
[width]

0 commit comments

Comments
 (0)