fix: toast style (#15170)

This commit is contained in:
yqrashawn 2023-02-23 20:18:44 +08:00 committed by GitHub
parent 6a58f9552d
commit e830f633d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -56,14 +56,12 @@
(defn- toast-container (defn- toast-container
[{:keys [left title text right container-style override-theme]}] [{:keys [left title text right container-style override-theme]}]
[rn/view {:style (merge {:padding-left 12 :padding-right 12} container-style)} [rn/view {:style (merge {:margin-left 12 :margin-right 12} container-style)}
[blur/view [blur/view
{:style (merge-theme-style :container {:style (merge-theme-style :container
(merge (merge
(:shadow-1 shadows/normal-scale) (:shadow-1 shadows/normal-scale)
{:flex-direction :row {:flex-direction :row
:flex 1
:margin :auto
:justify-content :space-between :justify-content :space-between
:padding-vertical 8 :padding-vertical 8
:padding-left 10 :padding-left 10