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