fix: vertical align texts in multiline input on iOS (#19565)
* fix: vertical align texts in multiline input on iOS Signed-off-by: yqrashawn <namy.19@gmail.com> * fix(copy): Chat Key -> Chatkey --------- Signed-off-by: yqrashawn <namy.19@gmail.com>
This commit is contained in:
parent
6ba89d0c6e
commit
f8cc85f5e2
|
@ -1,7 +1,8 @@
|
|||
(ns quo.components.inputs.input.style
|
||||
(:require
|
||||
[quo.components.markdown.text :as text]
|
||||
[quo.foundations.colors :as colors]))
|
||||
[quo.foundations.colors :as colors]
|
||||
[react-native.platform :as platform]))
|
||||
|
||||
(defn variants-colors
|
||||
[blur? theme]
|
||||
|
@ -97,9 +98,12 @@
|
|||
(assoc base-props
|
||||
:text-align-vertical :top
|
||||
:line-height 22)
|
||||
(assoc base-props
|
||||
:height (if small? 30 38)
|
||||
:line-height nil))))
|
||||
(cond-> base-props
|
||||
:always
|
||||
(assoc :height (if small? 30 38)
|
||||
:line-height nil)
|
||||
platform/ios?
|
||||
(assoc :padding-top (+ padding 2))))))
|
||||
|
||||
(defn right-icon-touchable-area
|
||||
[small?]
|
||||
|
|
|
@ -606,7 +606,7 @@
|
|||
"skip": "Skip",
|
||||
"password-placeholder": "Password...",
|
||||
"confirm-password-placeholder": "Confirm your password...",
|
||||
"ens-or-chat-key": "ENS or Chat key",
|
||||
"ens-or-chat-key": "ENS or Chatkey",
|
||||
"user-found": "User found",
|
||||
"enter-pin": "Enter 6-digit passcode",
|
||||
"enter-puk-code": "Enter PUK code",
|
||||
|
|
Loading…
Reference in New Issue