fix login/forget password button overlaps password input (#15488)
This commit is contained in:
parent
7a4b12acf4
commit
ac27314547
|
@ -42,19 +42,19 @@
|
||||||
:padding-horizontal 20})
|
:padding-horizontal 20})
|
||||||
|
|
||||||
(def multi-profile-button
|
(def multi-profile-button
|
||||||
{:align-self :flex-end})
|
{:align-self :flex-end
|
||||||
|
:margin-bottom 20})
|
||||||
|
|
||||||
(def login-profile-card
|
(def login-profile-card
|
||||||
{:margin-vertical 20})
|
{:margin-bottom 20})
|
||||||
|
|
||||||
(def keyboard-avoiding-view
|
|
||||||
{:flex 1})
|
|
||||||
|
|
||||||
(def info-message
|
(def info-message
|
||||||
{:margin-top 8})
|
{:margin-top 8})
|
||||||
|
|
||||||
|
(def forget-password-button
|
||||||
|
{:margin-vertical 8})
|
||||||
|
|
||||||
(defn login-button
|
(defn login-button
|
||||||
[]
|
[]
|
||||||
{:margin-top 8
|
{:margin-bottom (if platform/android? 20 46)})
|
||||||
:margin-bottom (if platform/android? 20 46)})
|
|
||||||
|
|
||||||
|
|
|
@ -135,8 +135,6 @@
|
||||||
profile-picture (:uri (first (:images multiaccount)))]
|
profile-picture (:uri (first (:images multiaccount)))]
|
||||||
[rn/keyboard-avoiding-view
|
[rn/keyboard-avoiding-view
|
||||||
{:style style/login-container}
|
{:style style/login-container}
|
||||||
[rn/view
|
|
||||||
{:style {:flex 1}}
|
|
||||||
[quo/button
|
[quo/button
|
||||||
{:size 32
|
{:size 32
|
||||||
:type :blur-bg
|
:type :blur-bg
|
||||||
|
@ -147,6 +145,9 @@
|
||||||
:accessibility-label :show-profiles
|
:accessibility-label :show-profiles
|
||||||
:style style/multi-profile-button}
|
:style style/multi-profile-button}
|
||||||
:i/multi-profile]
|
:i/multi-profile]
|
||||||
|
[rn/scroll-view
|
||||||
|
{:keyboard-should-persist-taps :always
|
||||||
|
:style {:flex 1}}
|
||||||
[quo/profile-card
|
[quo/profile-card
|
||||||
{:name name
|
{:name name
|
||||||
:customization-color (or customization-color :primary)
|
:customization-color (or customization-color :primary)
|
||||||
|
@ -178,7 +179,8 @@
|
||||||
:type :ghost
|
:type :ghost
|
||||||
:before :i/info
|
:before :i/info
|
||||||
:accessibility-label :forget-password-button
|
:accessibility-label :forget-password-button
|
||||||
:override-theme :dark}
|
:override-theme :dark
|
||||||
|
:style style/forget-password-button}
|
||||||
(i18n/label :t/forget-password)]
|
(i18n/label :t/forget-password)]
|
||||||
[quo/button
|
[quo/button
|
||||||
{:size 40
|
{:size 40
|
||||||
|
|
Loading…
Reference in New Issue