Skip to content

Commit d4a0d6a

Browse files
committed
fix the mention highlighted area is only updated after reopening the chat
1 parent 0e9847f commit d4a0d6a

File tree

1 file changed

+7
-7
lines changed
  • src/status_im/contexts/chat/messenger/messages/content/text

1 file changed

+7
-7
lines changed

src/status_im/contexts/chat/messenger/messages/content/text/style.cljs

+7-7
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@
1414

1515
(defn mention-tag-wrapper
1616
[first-child-mention]
17-
{:flex-direction :row
18-
:align-items :center
19-
:height (if platform/ios? 22 21)
20-
:background-color colors/primary-50-opa-10
21-
:padding-horizontal 3
22-
:border-radius 6
23-
:transform [{:translateY (if platform/ios? (if first-child-mention 4.5 3) 4.5)}]})
17+
{:flex-direction :row
18+
:align-items :center
19+
:height (if platform/ios? 22 21)
20+
:border-radius 6
21+
:transform [{:translateY (if platform/ios? (if first-child-mention 4.5 3) 4.5)}]})
2422

2523
(def mention-tag-text
2624
{:color (colors/theme-colors colors/primary-50
2725
colors/primary-60)
2826
:selection-color :transparent
27+
:background-color colors/primary-50-opa-10
28+
:padding-horizontal 3
2929
:suppress-highlighting true})
3030

3131
(defn code

0 commit comments

Comments
 (0)