parent
0f7e98cbe2
commit
0ef7dc34e4
|
@ -11,9 +11,9 @@
|
|||
|
||||
(def ^:const composer-default-height (+ bar-container-height input-height actions-container-height))
|
||||
|
||||
(def ^:const line-height (:line-height typography/paragraph-1))
|
||||
(def ^:const line-height (if platform/ios? 18 (:line-height typography/paragraph-1)))
|
||||
|
||||
(def ^:const multiline-minimized-height (+ input-height (if platform/ios? 18 line-height)))
|
||||
(def ^:const multiline-minimized-height (+ input-height line-height))
|
||||
|
||||
(def ^:const empty-opacity 0.7)
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
(ns status-im2.contexts.chat.composer.gradients.style
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]
|
||||
[quo2.foundations.typography :as typography]
|
||||
[react-native.reanimated :as reanimated]))
|
||||
[react-native.reanimated :as reanimated]
|
||||
[status-im2.contexts.chat.composer.constants :as constants]))
|
||||
|
||||
(defn top-gradient-style
|
||||
[opacity z-index]
|
||||
|
@ -24,7 +24,7 @@
|
|||
:style (top-gradient-style opacity z-index)})
|
||||
|
||||
(def bottom-gradient-style
|
||||
{:height (:line-height typography/paragraph-1)
|
||||
{:height constants/line-height
|
||||
:position :absolute
|
||||
:bottom 0
|
||||
:left 0
|
||||
|
|
Loading…
Reference in New Issue