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:
parent
3f627cb132
commit
42ba0d7b7a
2 changed files with 2 additions and 1 deletions
|
@ -109,6 +109,7 @@
|
|||
([content controls actions tag]
|
||||
(show {:content content
|
||||
:type :info
|
||||
:position :floating
|
||||
:controls controls
|
||||
:actions actions
|
||||
:tag tag})))
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue