mirror of
https://github.com/penpot/penpot.git
synced 2026-04-27 20:28:11 +00:00
✨ Fix default banner message position
This commit is contained in:
parent
3f627cb132
commit
42ba0d7b7a
@ -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…
x
Reference in New Issue
Block a user