Skip to content

Commit

Permalink
fix margin
Browse files Browse the repository at this point in the history
  • Loading branch information
BalogunofAfrica committed Mar 25, 2024
1 parent 92b7b0d commit 8c2c2f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,10 @@
:left left}
{:z-index -1}))

(defn user-name
[group-chat]
(def user-name
{:align-items :center
:flex-direction :row
:margin-top (if group-chat 52 52)})
:margin-top 52})

(def bio
{:margin-top 8})
Expand Down
4 changes: 2 additions & 2 deletions src/status_im/contexts/chat/messenger/messages/list/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
:size :big}])]))

(defn chat-display-name
[{:keys [distance-from-list-top display-name group-chat contact theme]}]
[{:keys [distance-from-list-top display-name contact theme]}]
(let [top (reanimated/interpolate distance-from-list-top
[0 messages.constants/header-container-top-margin]
[0 -35]
Expand All @@ -151,7 +151,7 @@
[reanimated/view
{:style (style/user-name-container top left)}
[rn/view
{:style (style/user-name group-chat)}
{:style style/user-name}
[quo/text
{:weight :semi-bold
:size :heading-1
Expand Down

0 comments on commit 8c2c2f0

Please sign in to comment.