mirror of
https://github.com/status-im/status-react.git
synced 2025-02-26 17:41:03 +00:00
Fix gwei input styles
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
This commit is contained in:
parent
90eb2aaaa1
commit
8636dea67a
@ -18,6 +18,7 @@
|
||||
(def text-input
|
||||
(merge text-content
|
||||
{:font-size 15
|
||||
:flex 1
|
||||
:padding-bottom 0
|
||||
:padding-top 0
|
||||
:height 52
|
||||
|
@ -74,8 +74,9 @@
|
||||
{:margin-top 24
|
||||
:margin-bottom 16})
|
||||
|
||||
(def advanced-options-wrapper
|
||||
(def gas-input-wrapper
|
||||
{:align-items :center
|
||||
:justify-content :space-between
|
||||
:flex-direction :row})
|
||||
|
||||
(def advanced-options-text-wrapper
|
||||
|
@ -126,13 +126,14 @@
|
||||
[react/view {:flex-direction :row}
|
||||
[wallet.components/cartouche {}
|
||||
(i18n/label :t/gas-limit)
|
||||
[react/view styles/gas-input-wrapper
|
||||
[react/text-input (merge styles/transaction-fee-input
|
||||
{:on-change-text #(re-frame/dispatch [:wallet.send/edit-gas %])
|
||||
:default-value (str (money/to-fixed gas))
|
||||
:accessibility-label :gas-limit-input})]]
|
||||
:accessibility-label :gas-limit-input})]]]
|
||||
[wallet.components/cartouche {}
|
||||
(i18n/label :t/gas-price)
|
||||
[react/view styles/advanced-options-wrapper
|
||||
[react/view styles/gas-input-wrapper
|
||||
[react/text-input (merge styles/transaction-fee-input
|
||||
{:on-change-text #(re-frame/dispatch [:wallet.send/edit-gas-price (money/->wei :gwei %)])
|
||||
:default-value (str (money/to-fixed (money/wei-> :gwei gas-price)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user