mirror of https://github.com/penpot/penpot.git
Merge pull request #6874 from penpot/xaviju-11355-tokens-import-details-layout
✨ Improve legibility on import token notification details
This commit is contained in:
commit
b6863efb3a
|
|
@ -47,7 +47,7 @@
|
|||
(ntf/show {:content (tr "workspace.tokens.unknown-token-type-message")
|
||||
:detail (->> (for [[token-type tokens] type->tokens]
|
||||
(tr "workspace.tokens.unknown-token-type-section" token-type (count tokens)))
|
||||
(str/join "\n"))
|
||||
(str/join "<br>"))
|
||||
:type :toast
|
||||
:level :info})))
|
||||
|
||||
|
|
|
|||
|
|
@ -71,4 +71,5 @@
|
|||
[:div {:on-click on-toggle-detail}
|
||||
(tr "workspace.notification-pill.detail")]]
|
||||
(when show-detail
|
||||
[:div {:class (stl/css :error-detail-content)} detail])])]))
|
||||
[:div {:class (stl/css :error-detail-content)
|
||||
:dangerouslySetInnerHTML #js {:__html detail}}])])]))
|
||||
|
|
|
|||
Loading…
Reference in New Issue