Skip to content

Commit d929850

Browse files
committed
fix community category bottom padding #17967
1 parent e6a7c42 commit d929850

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/status_im2/contexts/communities/overview/style.cljs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@
4141
:right 0
4242
:bottom 0})
4343

44+
(def channel-list-component
45+
{:margin-top 8
46+
:margin-bottom 5
47+
:flex 1})
48+
4449
(defn token-gated-container
4550
[]
4651
{:border-radius 16

src/status_im2/contexts/communities/overview/view.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
{:on-layout #(on-first-channel-height-changed
8383
(+ 38 (int (Math/ceil (layout-y %))))
8484
(into #{} (map (comp :name second) channels-list)))
85-
:style {:margin-top 8 :flex 1}}
85+
:style style/channel-list-component}
8686
(for [[category-id {:keys [chats name collapsed?]}] channels-list]
8787
[rn/view
8888
{:key category-id

0 commit comments

Comments
 (0)