0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-12 07:41:43 -05:00

Fix default banner message position

This commit is contained in:
Andrés Moya 2020-10-13 14:51:14 +02:00 committed by Andrey Antukh
parent 3f627cb132
commit 42ba0d7b7a
2 changed files with 2 additions and 1 deletions

View file

@ -109,6 +109,7 @@
([content controls actions tag]
(show {:content content
:type :info
:position :floating
:controls controls
:actions actions
:tag tag})))

View file

@ -65,7 +65,7 @@
on-close #(st/emit! dm/hide)]
(when message
[:& banner (assoc message
:position (or (:position message) :floating)
:position (or (:position message) :fixed)
:controls (if (some? (:controls message))
(:controls message)
(if (some? (:timeout message))