mirror of
https://github.com/penpot/penpot.git
synced 2025-06-04 23:11:39 +02:00
🐛 Fix modal hint as context notification (#6276)
This commit is contained in:
parent
686ab14b43
commit
870fec6bbd
9 changed files with 17 additions and 28 deletions
|
@ -10,6 +10,7 @@
|
|||
[app.main.data.modal :as modal]
|
||||
[app.main.store :as st]
|
||||
[app.main.ui.components.link :as lk]
|
||||
[app.main.ui.ds.notifications.context-notification :refer [context-notification*]]
|
||||
[app.main.ui.icons :as i]
|
||||
[app.util.dom :as dom]
|
||||
[app.util.i18n :as i18n :refer [tr]]
|
||||
|
@ -72,7 +73,9 @@
|
|||
[:h3 {:class (stl/css :modal-scd-msg)} scd-message])
|
||||
|
||||
(when (string? hint)
|
||||
[:p {:class (stl/css :modal-hint)} hint])]
|
||||
[:> context-notification* {:level :info
|
||||
:appearance :ghost}
|
||||
hint])]
|
||||
|
||||
[:div {:class (stl/css :modal-footer)}
|
||||
[:div {:class (stl/css :action-buttons)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue