Let the preview area extend to the max width available

This commit is contained in:
Icaro Motta 2022-09-01 11:53:21 -03:00
parent 8502834500
commit 3060be023e
No known key found for this signature in database
GPG Key ID: 009557D9D014DF07
1 changed files with 3 additions and 3 deletions

View File

@ -146,9 +146,9 @@
(= (:context @state) :complex-user-action) (= (:context @state) :complex-user-action)
(assoc :context complex-user-action))] (assoc :context complex-user-action))]
[rn/view {:margin-bottom 50 [rn/view {:margin-bottom 50}
:padding 16} [rn/view {:flex 1
[rn/view {:flex 1} :padding 16}
[preview/customizer state descriptor]] [preview/customizer state descriptor]]
[rn/view {:background-color colors/neutral-95-opa-80 [rn/view {:background-color colors/neutral-95-opa-80
:flex-direction :row :flex-direction :row