Override padding in text input

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
This commit is contained in:
Gheorghe Pinzaru 2020-06-15 17:40:18 +03:00
parent aeb0123998
commit 376dab37e9
No known key found for this signature in database
GPG Key ID: C9A094959935A952
1 changed files with 3 additions and 1 deletions

View File

@ -17,7 +17,9 @@
:on-cancel on-cancel
:auto-correct false
:auto-capitalize :none
:input-style {:height 36}
:input-style {:height 36
:padding-top 2
:padding-bottom 2}
:before {:icon :main-icons/search
:style {:padding-horizontal 8}
:on-press #(.focus ^js @input-ref)