Skip to content

Commit

Permalink
fix reply overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rasom committed Mar 30, 2019
1 parent 96f637f commit 1446cc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/status_im/ui/screens/chat/input/input.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
(defview reply-message [from message-text]
(letsubs [username [:contacts/contact-name-by-identity from]
current-public-key [:account/public-key]]
[react/view {:style style/reply-message-content}
[react/scroll-view {:style style/reply-message-content}
(chat-utils/format-reply-author from username current-public-key style/reply-message-author)
[react/text {:style (message-style/style-message-text false)} message-text]]))

Expand Down
4 changes: 1 addition & 3 deletions src/status_im/ui/screens/chat/styles/input/input.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@
(def reply-message-content
{:flex-direction :column
:padding-left 7
:margin-right 30
:max-height 140
:overflow :scroll})
:max-height 140})

(defn reply-message-author [chosen?]
(assoc (message-author-name chosen?)
Expand Down

0 comments on commit 1446cc9

Please sign in to comment.